[PATCH] check_tcp: fix help description regarding escape option

Sebastian Herbszt herbszt at gmx.de
Sun Nov 30 23:57:47 CET 2014


The help description should print '\\' for backslash not just '\'.

Signed-off-by: Sebastian Herbszt <herbszt at gmx.de>
---
 plugins/check_tcp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index fc0adba..63f9fd9 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -643,7 +643,7 @@ print_help (void)
 	printf (UT_IPv46);
 
 	printf (" %s\n", "-E, --escape");
-  printf ("    %s\n", _("Can use \\n, \\r, \\t or \\ in send or quit string. Must come before send or quit option"));
+  printf ("    %s\n", _("Can use \\n, \\r, \\t or \\\\ in send or quit string. Must come before send or quit option"));
   printf ("    %s\n", _("Default: nothing added to send, \\r\\n added to end of quit"));
   printf (" %s\n", "-s, --send=STRING");
   printf ("    %s\n", _("String to send to the server"));
-- 
2.1.0




More information about the Devel mailing list