Centralize handling of --help.

This commit is contained in:
Matt Kraai
2000-07-19 19:24:01 +00:00
parent 869057238b
commit 27a804246a
32 changed files with 221 additions and 312 deletions

View File

@ -78,10 +78,6 @@ extern int more_main(int argc, char **argv)
argc--;
argv++;
if (argc > 0
&& (strcmp(*argv, dash_dash_help) == 0 || strcmp(*argv, "-h") == 0)) {
usage(more_usage);
}
do {
if (argc == 0) {
file = stdin;