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.
diff --git a/rmmod.c b/rmmod.c
index 3a66af8..7d4538e 100644
--- a/rmmod.c
+++ b/rmmod.c
@@ -39,7 +39,7 @@
{
int ret = EXIT_SUCCESS;
if (argc <= 1) {
- usage(rmmod_usage);
+ show_usage();
}
/* Parse any options */
@@ -52,7 +52,7 @@
perror_msg_and_die("rmmod");
return EXIT_SUCCESS;
default:
- usage(rmmod_usage);
+ show_usage();
}
}
}