source3/client: Fix typo in help message displayed by default
authorAnoop C S <anoopcs@redhat.com>
Mon, 31 Jul 2017 10:09:19 +0000 (15:39 +0530)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 7 Aug 2017 13:20:04 +0000 (15:20 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12936

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/client/client.c
source3/script/tests/test_smbclient_s3.sh

index d8c96e6..83d9b9d 100644 (file)
@@ -5706,7 +5706,7 @@ static int process_stdin(void)
 {
        int rc = 0;
 
-       d_printf("Try \"help\" do get a list of possible commands.\n");
+       d_printf("Try \"help\" to get a list of possible commands.\n");
 
        while (!finished) {
                TALLOC_CTX *frame = talloc_stackframe();
index 203f2c2..5d05a1a 100755 (executable)
@@ -1434,11 +1434,11 @@ EOF
        return 1
     fi
 
-    echo "$out" | grep 'Try "help" do get a list of possible commands.'
+    echo "$out" | grep 'Try "help" to get a list of possible commands.'
     ret=$?
     if [ $ret -ne 0 ] ; then
        echo "$out"
-       echo 'failed - should get: Try "help" do get a list of possible commands.'
+       echo 'failed - should get: Try "help" to get a list of possible commands.'
        return 1
     fi