diff options
author | Andreas Schneider <asn@cryptomilk.org> | 2021-10-27 13:45:15 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2021-10-28 13:23:34 +0000 |
commit | 16d43ccfddf0e67a0ae87e3f13b3114c858d64ac (patch) | |
tree | e7d5fde50ae06bb672d2d0e77795f5ea1b415fea /lib/cmdline | |
parent | 5c6640470aa845780fbf17961e67b0d9302c2fbc (diff) | |
download | samba-16d43ccfddf0e67a0ae87e3f13b3114c858d64ac.tar.gz |
lib:cmdline: Fix -k option which doesn't expect anything
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
Diffstat (limited to 'lib/cmdline')
-rw-r--r-- | lib/cmdline/cmdline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cmdline/cmdline.c b/lib/cmdline/cmdline.c index 5dd543f244d..753cec27c3f 100644 --- a/lib/cmdline/cmdline.c +++ b/lib/cmdline/cmdline.c @@ -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", }, |