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

View File

@@ -37,7 +37,7 @@ chgrp(const char *path, struct stat *st, void *data, struct recursor *r)
static void
usage(void)
{
eprintf("usage: chgrp [-h] [-R [-H | -L | -P]] group file ...\n");
eprintf("usage: %s [-h] [-R [-H | -L | -P]] group file ...\n", argv0);
}
int