From 0b58af7bd1c0c060c55dadb33603570d0c044e14 Mon Sep 17 00:00:00 2001 From: Mosder Date: Mon, 27 Jul 2026 18:15:19 +0200 Subject: refactor: changed hardcoded PROGRAM_NAME into argv[0] and moved global install destination into /usr/local/bin from /usr/bin --- analyzer/commands.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'analyzer/commands.h') diff --git a/analyzer/commands.h b/analyzer/commands.h index f53a140..378af36 100644 --- a/analyzer/commands.h +++ b/analyzer/commands.h @@ -27,4 +27,6 @@ extern const size_t commands_count; extern int is_command(Command command, char *str); // print information about help when program didn't recognize command -extern void command_not_recognized(); +// params: +// - prog_name - name of the program (argv[0]) +extern void command_not_recognized(const char *prog_name); -- cgit v1.2.3