diff options
Diffstat (limited to 'src/programs/pkaction.c')
-rw-r--r-- | src/programs/pkaction.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/programs/pkaction.c b/src/programs/pkaction.c index 3778b33..ad68659 100644 --- a/src/programs/pkaction.c +++ b/src/programs/pkaction.c @@ -140,6 +140,12 @@ main (int argc, char *argv[]) g_error_free (error); goto out; } + if (argc > 1) + { + g_printerr (_("%s: Unexpected argument `%s'\n"), g_get_prgname (), + argv[1]); + goto out; + } if (opt_show_version) { g_print ("pkaction version %s\n", PACKAGE_VERSION); |