commands: refactor applet_usage functions to take a status code (ref #16)

This commit is contained in:
Ariadne Conill 2020-08-11 20:44:04 -06:00
parent f96a74f232
commit ebd04cafda
4 changed files with 15 additions and 15 deletions

View file

@ -21,7 +21,7 @@
struct if_applet {
const char *name;
int (*const main)(int argc, char *argv[]);
void (*const usage)(void);
void (*const usage)(int status);
};
extern char *argv0;