From 451a320920c6e2f60445938aa98d4fe817c3d36a Mon Sep 17 00:00:00 2001 From: Mosder Date: Tue, 15 Sep 2026 15:52:47 +0200 Subject: formatting: run codebase through new .clang-format --- analyzer/commands.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'analyzer/commands.c') 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", "", {"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 + ); } -- cgit v1.2.3