]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:client: Remove duplicate name-resolv (R) options
authorAndreas Schneider <asn@samba.org>
Mon, 9 Nov 2020 15:05:38 +0000 (16:05 +0100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 20 May 2021 02:58:36 +0000 (02:58 +0000)
Detected by samba_popt_get_context(), see next commit.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/client/client.c

index 148a6036f3cad1ae010e5aa7c2595e2deca1e343..0da64cbdbd8c9a019279d46a84c6883c5bee9c59 100644 (file)
@@ -6288,15 +6288,6 @@ int main(int argc,char *argv[])
        struct poptOption long_options[] = {
                POPT_AUTOHELP
 
-               {
-                       .longName   = "name-resolve",
-                       .shortName  = 'R',
-                       .argInfo    = POPT_ARG_STRING,
-                       .arg        = &new_name_resolve_order,
-                       .val        = 'R',
-                       .descrip    = "Use these name resolution services only",
-                       .argDescrip = "NAME-RESOLVE-ORDER",
-               },
                {
                        .longName   = "message",
                        .shortName  = 'M',