diff options
Diffstat (limited to 'plugins/negate.c')
-rw-r--r-- | plugins/negate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/negate.c b/plugins/negate.c index a11558d..c76f5ca 100644 --- a/plugins/negate.c +++ b/plugins/negate.c | |||
@@ -234,17 +234,17 @@ process_arguments (int argc, char **argv) | |||
234 | 234 | ||
235 | while (1) { | 235 | while (1) { |
236 | #ifdef HAVE_GETOPT_H | 236 | #ifdef HAVE_GETOPT_H |
237 | c = getopt_long (argc, argv, "+?hVt:", | 237 | c = getopt_long (argc, argv, "hVt:", |
238 | long_options, &option_index); | 238 | long_options, &option_index); |
239 | #else | 239 | #else |
240 | c = getopt (argc, argv, "+?hVt:"); | 240 | c = getopt (argc, argv, "hVt:"); |
241 | #endif | 241 | #endif |
242 | if (c == -1 || c == EOF) | 242 | if (c == -1 || c == EOF) |
243 | break; | 243 | break; |
244 | 244 | ||
245 | switch (c) { | 245 | switch (c) { |
246 | case '?': /* help */ | 246 | case '?': /* help */ |
247 | usage2 ("Unknown argument", optarg); | 247 | usage3 ("Unknown argument", optopt); |
248 | case 'h': /* help */ | 248 | case 'h': /* help */ |
249 | print_help (); | 249 | print_help (); |
250 | exit (EXIT_SUCCESS); | 250 | exit (EXIT_SUCCESS); |