Cleanup usage() across sbase
Some tools didn't use argv0 for tool name, or usage() at all.
This commit is contained in:
6
tar.c
6
tar.c
@@ -490,8 +490,10 @@ xt(int argc, char *argv[], int mode)
|
||||
static void
|
||||
usage(void)
|
||||
{
|
||||
eprintf("usage: %s [-C dir] [-J | -Z | -a | -j | -z] -x [-m | -t] [-f file] [file ...]\n"
|
||||
" %s [-C dir] [-J | -Z | -a | -j | -z] [-h] -c path ... [-f file]\n", argv0, argv0);
|
||||
eprintf("usage: %s [-C dir] [-J | -Z | -a | -j | -z] -x [-m | -t] "
|
||||
"[-f file] [file ...]\n"
|
||||
" %s [-C dir] [-J | -Z | -a | -j | -z] [-h] -c path ... "
|
||||
"[-f file]\n", argv0, argv0);
|
||||
}
|
||||
|
||||
int
|
||||
|
Reference in New Issue
Block a user