ifstat/nstat: fix help output alignment
Some lines use tabs while others use spaces. Use spaces everywhere. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
2c500a4dc2
commit
eca7a74219
|
|
@ -662,18 +662,18 @@ static void usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Usage: ifstat [OPTION] [ PATTERN [ PATTERN ] ]\n"
|
"Usage: ifstat [OPTION] [ PATTERN [ PATTERN ] ]\n"
|
||||||
" -h, --help this message\n"
|
" -h, --help this message\n"
|
||||||
" -a, --ignore ignore history\n"
|
" -a, --ignore ignore history\n"
|
||||||
" -d, --scan=SECS sample every statistics every SECS\n"
|
" -d, --scan=SECS sample every statistics every SECS\n"
|
||||||
" -e, --errors show errors\n"
|
" -e, --errors show errors\n"
|
||||||
" -j, --json format output in JSON\n"
|
" -j, --json format output in JSON\n"
|
||||||
" -n, --nooutput do history only\n"
|
" -n, --nooutput do history only\n"
|
||||||
" -p, --pretty pretty print\n"
|
" -p, --pretty pretty print\n"
|
||||||
" -r, --reset reset history\n"
|
" -r, --reset reset history\n"
|
||||||
" -s, --noupdate don\'t update history\n"
|
" -s, --noupdate don't update history\n"
|
||||||
" -t, --interval=SECS report average over the last SECS\n"
|
" -t, --interval=SECS report average over the last SECS\n"
|
||||||
" -V, --version output version information\n"
|
" -V, --version output version information\n"
|
||||||
" -z, --zeros show entries with zero activity\n");
|
" -z, --zeros show entries with zero activity\n");
|
||||||
|
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
22
misc/nstat.c
22
misc/nstat.c
|
|
@ -526,17 +526,17 @@ static void usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr,
|
fprintf(stderr,
|
||||||
"Usage: nstat [OPTION] [ PATTERN [ PATTERN ] ]\n"
|
"Usage: nstat [OPTION] [ PATTERN [ PATTERN ] ]\n"
|
||||||
" -h, --help this message\n"
|
" -h, --help this message\n"
|
||||||
" -a, --ignore ignore history\n"
|
" -a, --ignore ignore history\n"
|
||||||
" -d, --scan=SECS sample every statistics every SECS\n"
|
" -d, --scan=SECS sample every statistics every SECS\n"
|
||||||
" -j, --json format output in JSON\n"
|
" -j, --json format output in JSON\n"
|
||||||
" -n, --nooutput do history only\n"
|
" -n, --nooutput do history only\n"
|
||||||
" -p, --pretty pretty print\n"
|
" -p, --pretty pretty print\n"
|
||||||
" -r, --reset reset history\n"
|
" -r, --reset reset history\n"
|
||||||
" -s, --noupdate don\'t update history\n"
|
" -s, --noupdate don't update history\n"
|
||||||
" -t, --interval=SECS report average over the last SECS\n"
|
" -t, --interval=SECS report average over the last SECS\n"
|
||||||
" -V, --version output version information\n"
|
" -V, --version output version information\n"
|
||||||
" -z, --zeros show entries with zero activity\n");
|
" -z, --zeros show entries with zero activity\n");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue