Add usage messages for applets without them.

This commit is contained in:
Matt Kraai
2000-07-19 18:01:00 +00:00
parent 91a4400fd5
commit 2f46b664b7
19 changed files with 232 additions and 0 deletions

View File

@ -27,10 +27,16 @@
extern int true_main(int argc, char **argv)
{
if (argc > 1 && strcmp(argv[1], "--help") == 0)
usage(true_usage);
return(TRUE);
}
extern int false_main(int argc, char **argv)
{
if (argc > 1 && strcmp(argv[1], "--help") == 0)
usage(false_usage);
return(FALSE);
}