chiark / gitweb /
bootctl: remove unused options from getopt_long
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sat, 9 Nov 2013 13:11:56 +0000 (14:11 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Sat, 9 Nov 2013 13:11:56 +0000 (14:11 +0100)
src/boot/bootctl.c

index 9387e05..359e273 100644 (file)
@@ -61,7 +61,7 @@ static int parse_argv(int argc, char *argv[]) {
         assert(argc >= 0);
         assert(argv);
 
-        while ((c = getopt_long(argc, argv, "+hH:P", options, NULL)) >= 0) {
+        while ((c = getopt_long(argc, argv, "+h", options, NULL)) >= 0) {
 
                 switch (c) {