diff options
Diffstat (limited to 'cli.c')
-rw-r--r-- | cli.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cli.c b/cli.c index be77bcc..8ccf3dd 100644 --- a/cli.c +++ b/cli.c @@ -111,7 +111,7 @@ main(int argc, char* argv[]) /* argument processing */ if( !(argc == 2) ) { - fprintf(stderr, "usage: %s <number>\n", PROG_NAME); + fprintf(stderr, "usage: %s <number>\n", "numericx"); return E2BIG; } @@ -144,19 +144,19 @@ main(int argc, char* argv[]) { case EINVAL: fprintf(stderr, "error: %s: %s. Resulting string argument value has to be NULL.\n", - PROG_NAME, strerror(EINVAL)); + "numericx", strerror(EINVAL)); break; case EDOM: fprintf(stderr, "error: %s: %s. Valid numerals are: \"%s\".\n", - PROG_NAME, strerror(EDOM), from); + "numericx", strerror(EDOM), from); break; case ERANGE: - fprintf(stderr, "error: %s: Unrepresentable void number.\n", PROG_NAME); + fprintf(stderr, "error: %s: Unrepresentable void number.\n", "numericx"); break; } if( !(status == true) ) { - fprintf(stderr, "error: %s: Incapable of translating.\n", PROG_NAME); + fprintf(stderr, "error: %s: Incapable of translating.\n", "numericx"); free(from); free(to); numericx_free(result); |