aboutsummaryrefslogtreecommitdiff
path: root/toys.h
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-03-10 23:05:24 -0500
committerRob Landley <rob@landley.net>2019-03-10 23:05:24 -0500
commit677cd8cea214ef73bbbed965580575c9abaa048e (patch)
tree09f113fdd434384c58c15eebd663b1b1be01d805 /toys.h
parent502b10c2ab6bb273bf280ba355fa30869b955d56 (diff)
downloadtoybox-677cd8cea214ef73bbbed965580575c9abaa048e.tar.gz
Add TOYFLAG_ARGFAIL() to allow argument parsing failures to exit with value.
Diffstat (limited to 'toys.h')
-rw-r--r--toys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys.h b/toys.h
index 9e49900b..79d0a905 100644
--- a/toys.h
+++ b/toys.h
@@ -89,7 +89,7 @@ extern struct toy_list {
char *name;
void (*toy_main)(void);
char *options;
- int flags;
+ unsigned flags;
} toy_list[];
// Global context shared by all commands.