From c17f8f92cb881143afcad23ff0c6a6d33e4c911e Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Mon, 31 Jul 2017 15:39:19 +0530 Subject: [PATCH] source3/client: Fix typo in help message displayed by default BUG: https://bugzilla.samba.org/show_bug.cgi?id=12936 Signed-off-by: Anoop C S Reviewed-by: Volker Lendecke Reviewed-by: Andreas Schneider (cherry picked from commit 90487259e365d5b966ccc47ac51eadb4733f3197) --- source3/client/client.c | 2 +- source3/script/tests/test_smbclient_s3.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/client/client.c b/source3/client/client.c index d8c96e68190..83d9b9d8342 100644 --- a/source3/client/client.c +++ b/source3/client/client.c @@ -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(); diff --git a/source3/script/tests/test_smbclient_s3.sh b/source3/script/tests/test_smbclient_s3.sh index 203f2c27d2e..5d05a1a587f 100755 --- a/source3/script/tests/test_smbclient_s3.sh +++ b/source3/script/tests/test_smbclient_s3.sh @@ -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 -- 2.11.0