summaryrefslogtreecommitdiffstats
path: root/src/foodopts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/foodopts.h')
-rw-r--r--src/foodopts.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/foodopts.h b/src/foodopts.h
index c8b0686..06349a1 100644
--- a/src/foodopts.h
+++ b/src/foodopts.h
@@ -19,6 +19,7 @@ struct foodoption {
/* Extra values */
const char *help;
const char *arg;
+ const char *category;
};
int
@@ -27,6 +28,10 @@ get_foodopt(int argc, char *const argv[],
const struct foodoption *longopts,
int *longindex);
+const char *
+get_argument(const char opt,
+ const struct foodoption *longopts);
+
void
foodopt_help(char * argv0,
const struct foodoption *longopts);