This patch, put together by Manuel Novoa III, is a merge of work
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
This commit is contained in:
4
tar.c
4
tar.c
@ -214,7 +214,7 @@ extern int tar_main(int argc, char **argv)
|
||||
int opt;
|
||||
|
||||
if (argc <= 1)
|
||||
usage(tar_usage);
|
||||
show_usage();
|
||||
|
||||
if (argv[1][0] != '-') {
|
||||
char *tmp = xmalloc(strlen(argv[1]) + 2);
|
||||
@ -283,7 +283,7 @@ extern int tar_main(int argc, char **argv)
|
||||
break;
|
||||
#endif
|
||||
default:
|
||||
usage(tar_usage);
|
||||
show_usage();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user