]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
agetty: -L accepts optional argument
authorKarel Zak <kzak@redhat.com>
Tue, 6 Aug 2013 13:39:11 +0000 (15:39 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 6 Aug 2013 13:39:11 +0000 (15:39 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/agetty.c

index b7de618f1c1ae4e3ad1c178295b38b020717d074..4cd8675cb7f367f0a2b52999601e34b8336ad2ab 100644 (file)
@@ -576,7 +576,7 @@ static void parse_args(int argc, char **argv, struct options *op)
        };
 
        while ((c = getopt_long(argc, argv,
-                          "8a:cC:d:Ef:hH:iI:Jl:LmnNo:pP:r:Rst:Uw", longopts,
+                          "8a:cC:d:Ef:hH:iI:Jl:L::mnNo:pP:r:Rst:Uw", longopts,
                            NULL)) != -1) {
                switch (c) {
                case '8':