diff options
Diffstat (limited to 'analyzer/commands.c')
| -rw-r--r-- | analyzer/commands.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/analyzer/commands.c b/analyzer/commands.c index 706a8f2..ff06dca 100644 --- a/analyzer/commands.c +++ b/analyzer/commands.c @@ -86,7 +86,13 @@ int file_anal(int argc, char *argv[]) { const Command help_command = {"help", "h", "", {"display this help"}, 1, print_help}; const Command commands[] = { {"live", "l", "", {"start live analysis"}, 1, live_anal}, - {"capture", "c", "[file]", {"start capturing packers to file", "If file isn't provided - captures to: $HOME/.local/share/branal/captures"}, 2, capture}, + {"capture", + "c", + "[file]", + {"start capturing packers to file", + "If file isn't provided - captures to: $HOME/.local/share/branal/captures"}, + 2, + capture}, {"file", "f", "<file...>", {"analyze the specified file(s)"}, 1, file_anal}, help_command }; @@ -98,5 +104,7 @@ int is_command(Command command, char *str) { void command_not_recognized(const char *prog_name) { printf("Command not recognized\n"); - printf("Use \"%s (%s | %s)\" for help\n", prog_name, help_command.short_name, help_command.name); + printf( + "Use \"%s (%s | %s)\" for help\n", prog_name, help_command.short_name, help_command.name + ); } |
