diff options
| author | Mosder <xmosder12@gmail.com> | 2026-07-27 18:15:19 +0200 |
|---|---|---|
| committer | Mosder <xmosder12@gmail.com> | 2026-07-27 18:15:19 +0200 |
| commit | 0b58af7bd1c0c060c55dadb33603570d0c044e14 (patch) | |
| tree | 45ea7b11f9988161eb56905bfd02aaa0e7d20e6b /analyzer/commands.h | |
| parent | 69b8bf48614da9501763e232cec752650fe7cf55 (diff) | |
refactor: changed hardcoded PROGRAM_NAME into argv[0] and moved global install destination into /usr/local/bin from /usr/bin
Diffstat (limited to 'analyzer/commands.h')
| -rw-r--r-- | analyzer/commands.h | 4 |
1 files changed, 3 insertions, 1 deletions
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); |
