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

@ -133,9 +133,6 @@ extern int ps_main(int argc, char **argv)
if (argc > 1 && strcmp(argv[1], dash_dash_help) == 0)
usage(ps_usage);
dir = opendir("/proc");
if (!dir)
fatalError("Can't open /proc\n");