diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-09-25 16:21:38 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-09-25 16:21:38 +0000 |
commit | 284286004e024dd240cc08d84ebd8b6748d311c8 (patch) | |
tree | e8fcd489e28c5bb8dee70d340099c8095938b393 /src/rc.c | |
parent | 17f430c0b911ef243599b0dc7388b166d5365539 (diff) |
Add support for describing the options in the C programs.
Diffstat (limited to 'src/rc.c')
-rw-r--r-- | src/rc.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -710,11 +710,14 @@ static void run_script (const char *script) { } #include "_usage.h" -#define getoptstring getoptstring_COMMON +#define getoptstring getoptstring_COMMON static struct option longopts[] = { longopts_COMMON { NULL, 0, NULL, 0} }; +static const char * const longopts_help[] = { + longopts_help_COMMON +}; #include "_usage.c" int main (int argc, char **argv) |