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 9387e05d0ea168cd52327debb6fd8cf9f91f31e4..359e273fd9f6d9731aca147d4f0ba7b3f0d09e59 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) {