diff options
author | Rob Landley <rob@landley.net> | 2008-02-12 17:36:13 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2008-02-12 17:36:13 -0600 |
commit | 26bf9e642eba4ea00cdf736d7ac4cd6be095a6af (patch) | |
tree | fbe81a228562910fc1eeac79e6f07e521cc097f0 /toys.h | |
parent | 0a521a217d7f1de33a56d75694ed7b8160f7874c (diff) | |
download | toybox-26bf9e642eba4ea00cdf736d7ac4cd6be095a6af.tar.gz |
Add toys.optc, an argv-style count for toys.optargs.
Diffstat (limited to 'toys.h')
-rw-r--r-- | toys.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -77,6 +77,7 @@ extern struct toy_context { char **argv; // Original command line arguments unsigned optflags; // Command line option flags from get_optflags() char **optargs; // Arguments left over from get_optflags() + int optc; // Count of optargs int exithelp; // Should error_exit print a usage message first? (Option parsing.) } toys; |