lib:cmdline: Fix -k option which doesn't expect anything
authorAndreas Schneider <asn@cryptomilk.org>
Wed, 27 Oct 2021 11:45:15 +0000 (13:45 +0200)
committerRalph Boehme <slow@samba.org>
Thu, 28 Oct 2021 13:23:34 +0000 (13:23 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14846

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Thu Oct 28 13:23:34 UTC 2021 on sn-devel-184

lib/cmdline/cmdline.c

index 5dd543f244d9079c6556ead3c182b729dcc73f41..753cec27c3ffe2b2815b2a6f760519938abeadd1 100644 (file)
@@ -1251,7 +1251,7 @@ static struct poptOption popt_legacy_s3[] = {
        {
                .longName   = "kerberos",
                .shortName  = 'k',
-               .argInfo    = POPT_ARG_STRING,
+               .argInfo    = POPT_ARG_NONE,
                .val        = 'k',
                .descrip    = "DEPRECATED: Migrate to --use-kerberos",
        },