Changing commandline help text to be more uniform...
This commit is contained in:
parent
4cd23bdde9
commit
10494d2724
4
ip/ip.c
4
ip/ip.c
|
|
@ -45,12 +45,12 @@ static void usage(void)
|
|||
{
|
||||
fprintf(stderr,
|
||||
"Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }\n"
|
||||
" ip [ -force ] [-batch filename\n"
|
||||
" ip [ -force ] -batch filename\n"
|
||||
"where OBJECT := { link | addr | addrlabel | route | rule | neigh | ntable |\n"
|
||||
" tunnel | maddr | mroute | monitor | xfrm }\n"
|
||||
" OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |\n"
|
||||
" -f[amily] { inet | inet6 | ipx | dnet | link } |\n"
|
||||
" -o[neline] | -t[imestamp] }\n");
|
||||
" -o[neline] | -t[imestamp] | -b[atch] [filename] }\n");
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
|
|
|
|||
4
tc/tc.c
4
tc/tc.c
|
|
@ -182,9 +182,9 @@ noexist:
|
|||
static void usage(void)
|
||||
{
|
||||
fprintf(stderr, "Usage: tc [ OPTIONS ] OBJECT { COMMAND | help }\n"
|
||||
" tc [-force] -batch file\n"
|
||||
" tc [-force] -batch filename\n"
|
||||
"where OBJECT := { qdisc | class | filter | action | monitor }\n"
|
||||
" OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -p[retty] | -b[atch] [file] }\n");
|
||||
" OPTIONS := { -s[tatistics] | -d[etails] | -r[aw] | -p[retty] | -b[atch] [filename] }\n");
|
||||
}
|
||||
|
||||
static int do_cmd(int argc, char **argv)
|
||||
|
|
|
|||
Loading…
Reference in New Issue