ipcalc: fix trivial usage message
authorRon Yorston <rmy@frippery.org>
Sun, 12 Jul 2015 20:19:28 +0000 (21:19 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sat, 15 Aug 2015 19:15:27 +0000 (21:15 +0200)
Signed-off-by: Ron Yorston <rmy@frippery.org>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/ipcalc.c

index 3c8b8bfc910026c270161fd829178d61f7c623f6..f4bacd7dcc29ded994ef232323359803f8cd2a96 100644 (file)
@@ -13,7 +13,8 @@
  */
 
 //usage:#define ipcalc_trivial_usage
-//usage:       "[OPTIONS] ADDRESS[[/]NETMASK] [NETMASK]"
+//usage:       "[OPTIONS] ADDRESS"
+//usage:       IF_FEATURE_IPCALC_FANCY("[/PREFIX]") " [NETMASK]"
 //usage:#define ipcalc_full_usage "\n\n"
 //usage:       "Calculate IP network settings from a IP address\n"
 //usage:       IF_FEATURE_IPCALC_LONG_OPTIONS(