diff options
author | gramanas <anastasis.gramm2@gmail.com> | 2022-10-14 22:11:50 +0300 |
---|---|---|
committer | gramanas <anastasis.gramm2@gmail.com> | 2022-10-14 22:11:50 +0300 |
commit | 7b7240d50dd5e418bc17beff48aa5681b398b980 (patch) | |
tree | b521f1da139ce85974b71f1698cc140b1e7fed6c /src/foodopts.h | |
parent | 433ce0f6795a4db89921b26274dd0b18fcccbb21 (diff) | |
download | foodtools-7b7240d50dd5e418bc17beff48aa5681b398b980.tar.gz foodtools-7b7240d50dd5e418bc17beff48aa5681b398b980.tar.bz2 foodtools-7b7240d50dd5e418bc17beff48aa5681b398b980.zip |
More changes
Diffstat (limited to 'src/foodopts.h')
-rw-r--r-- | src/foodopts.h | 5 |
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); |