[git commit] ipcalc: fix trivial usage message

Denys Vlasenko vda.linux at googlemail.com
Sat Aug 15 19:15:27 UTC 2015


commit: http://git.busybox.net/busybox/commit/?id=72dcbe4df7f02b2176daf70c68835fc8a053a219
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Ron Yorston <rmy at frippery.org>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/ipcalc.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/networking/ipcalc.c b/networking/ipcalc.c
index 3c8b8bf..f4bacd7 100644
--- a/networking/ipcalc.c
+++ b/networking/ipcalc.c
@@ -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(


More information about the busybox-cvs mailing list