diff options
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r-- | plugins/check_disk.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 669a1cd6..ab9f66f8 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c @@ -438,9 +438,7 @@ process_arguments (int argc, char **argv) print_help (); exit (STATE_OK); case '?': /* help */ - printf (_("%s: Unknown argument: %s\n\n"), progname, optarg); - print_usage (); - exit (STATE_UNKNOWN); + usage2 (_("Unknown argument"), optarg); } } @@ -488,7 +486,7 @@ print_path (const char *mypath) if (mypath == NULL) printf ("\n"); else - printf (" for %s\n", mypath); + printf (_(" for %s\n"), mypath); return; } |