aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-10 19:00:08 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2007-04-10 19:00:08 +0000
commitf73cac8d3d94fbb4e507059a6ebe369e9aaa49b8 (patch)
tree20f602d3b2b322196ab9b7358b9d8c9b63a547d3
parente87d7955f8130040a575f2f48962471a27ccc964 (diff)
downloadbusybox-w32-f73cac8d3d94fbb4e507059a6ebe369e9aaa49b8.tar.gz
busybox-w32-f73cac8d3d94fbb4e507059a6ebe369e9aaa49b8.tar.bz2
busybox-w32-f73cac8d3d94fbb4e507059a6ebe369e9aaa49b8.zip
- forgot this hunk that corrects the usage text of ip
-rw-r--r--include/usage.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/include/usage.h b/include/usage.h
index 048dcbdde..d196afcbf 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -1579,12 +1579,24 @@
1579 USE_SELINUX( \ 1579 USE_SELINUX( \
1580 "\n -Z Set security context of copy" \ 1580 "\n -Z Set security context of copy" \
1581 ) 1581 )
1582 1582/* would need to make the " | " optional depending on more than one selected */
1583#define ip_trivial_usage \ 1583#define ip_trivial_usage \
1584 "[OPTIONS] {address | link | route | tunnel | rule} {COMMAND}" 1584 "[OPTIONS] {" \
1585 USE_FEATURE_IP_ADDRESS("address | ") \
1586 USE_FEATURE_IP_ROUTE("route | ") \
1587 USE_FEATURE_IP_LINK("link | ") \
1588 USE_FEATURE_IP_TUNNEL("tunnel | ") \
1589 USE_FEATURE_IP_RULE("rule") \
1590 "} {COMMAND}"
1585#define ip_full_usage \ 1591#define ip_full_usage \
1586 "ip [OPTIONS] OBJECT {COMMAND}\n" \ 1592 "ip [OPTIONS] OBJECT {COMMAND}\n" \
1587 "where OBJECT := {link | addr | route | tunnel |rule}\n" \ 1593 "where OBJECT := {" \
1594 USE_FEATURE_IP_ADDRESS("address | ") \
1595 USE_FEATURE_IP_ROUTE("route | ") \
1596 USE_FEATURE_IP_LINK("link | ") \
1597 USE_FEATURE_IP_TUNNEL("tunnel | ") \
1598 USE_FEATURE_IP_RULE("rule") \
1599 "}\n" \
1588 "OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }" 1600 "OPTIONS := { -f[amily] { inet | inet6 | link } | -o[neline] }"
1589 1601
1590#define ipaddr_trivial_usage \ 1602#define ipaddr_trivial_usage \