diff options
| author | Wiimm <none> | 2020-09-30 13:20:16 +0200 |
|---|---|---|
| committer | Wiimm <none> | 2020-09-30 13:20:16 +0200 |
| commit | 646b95d113309378591b75a290ee6c62a04f3772 (patch) | |
| tree | a94864e8cef5fc0fbffb7e69d46d688e7caaae3d /project/src/wkclt.c | |
| parent | eaf1f8f8ce68b80ebdcefb45896461a89b47e1e1 (diff) | |
SZS v2.20a.beta1: Test Mac build
Diffstat (limited to 'project/src/wkclt.c')
| -rw-r--r-- | project/src/wkclt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/project/src/wkclt.c b/project/src/wkclt.c index bd2b7fe..49f5742 100644 --- a/project/src/wkclt.c +++ b/project/src/wkclt.c @@ -144,11 +144,11 @@ static void hint_exit ( enumError stat ) if ( current_command ) fprintf(stderr, "-> Type '%s help %s' (pipe it to a pager like 'less') for more help.\n\n", - progname, CommandInfo[current_command->id].name1 ); + ProgInfo.progname, CommandInfo[current_command->id].name1 ); else fprintf(stderr, "-> Type '%s -h' or '%s help' (pipe it to a pager like 'less') for more help.\n\n", - progname, progname ); + ProgInfo.progname, ProgInfo.progname ); exit(stat); } @@ -1226,7 +1226,7 @@ static enumError CheckOptions ( int argc, char ** argv, bool is_env ) NormalizeOptions( verbose > 3 && !is_env ? 2 : 0 ); SetupKCL(); - return !err ? ERR_OK : max_error ? max_error : ERR_SYNTAX; + return !err ? ERR_OK : ProgInfo.max_error ? ProgInfo.max_error : ERR_SYNTAX; } // @@ -1323,7 +1323,7 @@ static enumError CheckCommand ( int argc, char ** argv ) #endif { print_title_func = print_title; - SetupLib(argc,argv,WKCLT_SHORT); + SetupLib(argc,argv,WKCLT_SHORT,VERSION,TITLE); //----- process arguments |
