Module: monitoring-plugins
    Branch: maint
    Commit: 22dfca20fd83da319ec23160e0092a602b6c1eea
    Author: Sebastian Herbszt <[email protected]>
 Committer: Holger Weiss <[email protected]>
      Date: Sun Nov 30 23:57:47 2014 +0100
       URL: 
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=22dfca2

check_tcp: fix help description regarding escape option

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

Signed-off-by: Sebastian Herbszt <[email protected]>

---

 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"));

Reply via email to