Commit 27ff1a56 authored by Phil Sutter's avatar Phil Sutter Committed by Stephen Hemminger

ipaddrlabel: Improve help text precision

Neither 'list' nor 'flush' actions accept parameters, and with given
prefix the action keyword is not optional anymore.
Signed-off-by: default avatarPhil Sutter <phil@nwl.cc>
parent 7a53aa59
......@@ -49,7 +49,8 @@ static void usage(void) __attribute__((noreturn));
static void usage(void)
{
fprintf(stderr, "Usage: ip addrlabel [ list | add | del | flush ] prefix PREFIX [ dev DEV ] [ label LABEL ]\n");
fprintf(stderr, "Usage: ip addrlabel { add | del } prefix PREFIX [ dev DEV ] [ label LABEL ]\n");
fprintf(stderr, " ip addrlabel [ list | flush | help ]\n");
exit(-1);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment