diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/usage.h b/include/usage.h index d731957f1..1ef79df61 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -1824,6 +1824,11 @@ | |||
1824 | " or\n" \ | 1824 | " or\n" \ |
1825 | "$ nameif -c /etc/my_mactab_file\n" \ | 1825 | "$ nameif -c /etc/my_mactab_file\n" \ |
1826 | 1826 | ||
1827 | #ifdef CONFIG_NC_GAPING_SECURITY_HOLE | ||
1828 | # define USAGE_NC_EXEC(a) a | ||
1829 | #else | ||
1830 | # define USAGE_NC_EXEC(a) | ||
1831 | #endif | ||
1827 | #define nc_trivial_usage \ | 1832 | #define nc_trivial_usage \ |
1828 | "[OPTIONS] [IP] [port]" | 1833 | "[OPTIONS] [IP] [port]" |
1829 | #define nc_full_usage \ | 1834 | #define nc_full_usage \ |
@@ -1832,8 +1837,10 @@ | |||
1832 | "\t-l\t\tlisten mode, for inbound connects\n" \ | 1837 | "\t-l\t\tlisten mode, for inbound connects\n" \ |
1833 | "\t-p PORT\t\tlocal port number\n" \ | 1838 | "\t-p PORT\t\tlocal port number\n" \ |
1834 | "\t-i SECS\t\tdelay interval for lines sent\n" \ | 1839 | "\t-i SECS\t\tdelay interval for lines sent\n" \ |
1835 | "\t-w SECS\t\ttimeout for connects and final net reads\n" \ | 1840 | USAGE_NC_EXEC( \ |
1836 | "\t-e PROG\t\tprogram to exec after connect (dangerous!)" | 1841 | "\t-e PROG\t\tprogram to exec after connect (dangerous!)\n" \ |
1842 | ) \ | ||
1843 | "\t-w SECS\t\ttimeout for connects and final net reads" | ||
1837 | #define nc_example_usage \ | 1844 | #define nc_example_usage \ |
1838 | "$ nc foobar.somedomain.com 25\n" \ | 1845 | "$ nc foobar.somedomain.com 25\n" \ |
1839 | "220 foobar ESMTP Exim 3.12 #1 Sat, 15 Apr 2000 00:03:02 -0600\n" \ | 1846 | "220 foobar ESMTP Exim 3.12 #1 Sat, 15 Apr 2000 00:03:02 -0600\n" \ |