From 27a804246af28c5d3d1f69d93049e3e21492bc48 Mon Sep 17 00:00:00 2001 From: Matt Kraai Date: Wed, 19 Jul 2000 19:24:01 +0000 Subject: Centralize handling of --help. --- modutils/lsmod.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'modutils') diff --git a/modutils/lsmod.c b/modutils/lsmod.c index 95006f0..6eb9c56 100644 --- a/modutils/lsmod.c +++ b/modutils/lsmod.c @@ -36,8 +36,5 @@ extern int lsmod_main(int argc, char **argv) char *filename = "/proc/modules"; #endif - if (argc > 1 && strcmp(argv[1], "--help") == 0) - usage(lsmod_usage); - return(print_file_by_name(filename)); } -- cgit v1.1