usage message for "ipaddr" needs to be consistent

Robert P. J. Day rpjday at mindspring.com
Thu Mar 30 11:56:29 UTC 2006


  a recent commit for include/usage.h involved the following:

--- usage.h     (revision 14698)
+++ usage.h     (working copy)
@@ -1491,7 +1491,7 @@
        "{ {add|del} IFADDR dev STRING | {show|flush}\n" \
        "\t\t[ dev STRING ] [ to PREFIX ] }"
 #define ipaddr_full_usage \
-       "ipaddr {add|del} IFADDR dev STRING\n" \
+       "ipaddr {add|delete} IFADDR dev STRING\n" \
        "ipaddr {show|flush} [ dev STRING ] [ scope SCOPE-ID ]\n" \
        "\t\t\t[ to PREFIX ] [ label PATTERN ]\n" \
        "\t\t\tIFADDR := PREFIX | ADDR peer PREFIX\n" \

  but if that's the case, shouldn't the trivial usage be updated
similarly?

rday



More information about the busybox mailing list