test_smbclient_tarmode.pl: use -n flag for specifiying hostname (was ambiguous with...
authorAurélien Aptel <aurelien.aptel@gmail.com>
Mon, 5 Aug 2013 16:56:04 +0000 (18:56 +0200)
committerJim McDonough <jmcd@samba.org>
Tue, 5 Nov 2013 13:42:42 +0000 (08:42 -0500)
Signed-off-by: Aurélien Aptel <aurelien.aptel@gmail.com>
Reviewed-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jim McDonough <jmcd@samba.org>
source3/script/tests/test_smbclient_tarmode.pl

index f4f924dde674392e7f83cce8c790acbdbb7b3633..b654c5eebc1b69069cc33b139ef4e8aa8fd883f4 100755 (executable)
@@ -102,7 +102,7 @@ my @TESTS = (
   Environment:
     -u, --user      USER
     -p, --password  PW
-    -h, --host      HOST
+    -n, --name      HOST
     -i, --ip        IP
     -s, --share     SHARE
     -d, --dir       PATH
@@ -127,13 +127,16 @@ my @TESTS = (
        be more verbose
 
     --debug
-       print command and their output
+       print command and their output (also set -v)
+
+    --subunit
+       print output in subunit format
 
 =cut
 
 GetOptions('u|user=s'       => \$USER,
            'p|password=s'   => \$PW,
-           'h|host=s'       => \$HOST,
+           'n|name=s'       => \$HOST,
            'i|ip=s'         => \$IP,
            's|share=s'      => \$SHARE,
            'd|dir=s'        => \$DIR,