Cleanup usage() across sbase

Some tools didn't use argv0 for tool name, or usage() at all.
This commit is contained in:
Quentin Rameau
2015-12-21 18:36:28 +01:00
committed by sin
parent 00d7bf4ea5
commit 6e7743eb56
13 changed files with 20 additions and 17 deletions

3
grep.c
View File

@@ -166,7 +166,8 @@ end:
static void
usage(void)
{
enprintf(Error, "usage: %s [-EFHchilnqsvwx] [-e pattern] [-f file] [pattern] [file ...]\n", argv0);
enprintf(Error, "usage: %s [-EFHchilnqsvwx] [-e pattern] [-f file] "
"[pattern] [file ...]\n", argv0);
}
int