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:
@ -39,7 +39,7 @@ extern int rmmod_main(int argc, char **argv)
|
||||
{
|
||||
int ret = EXIT_SUCCESS;
|
||||
if (argc <= 1) {
|
||||
usage(rmmod_usage);
|
||||
show_usage();
|
||||
}
|
||||
|
||||
/* Parse any options */
|
||||
@ -52,7 +52,7 @@ extern int rmmod_main(int argc, char **argv)
|
||||
perror_msg_and_die("rmmod");
|
||||
return EXIT_SUCCESS;
|
||||
default:
|
||||
usage(rmmod_usage);
|
||||
show_usage();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user