[systemd-commits] src/boot

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Sat Nov 9 13:12:13 CET 2013


 src/boot/bootctl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b226deba789ba1a0d2cbc742ddc8160b7feb09c4
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Sat Nov 9 14:11:56 2013 +0100

    bootctl: remove unused options from getopt_long

diff --git a/src/boot/bootctl.c b/src/boot/bootctl.c
index 9387e05..359e273 100644
--- a/src/boot/bootctl.c
+++ b/src/boot/bootctl.c
@@ -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) {
 



More information about the systemd-commits mailing list