From 284286004e024dd240cc08d84ebd8b6748d311c8 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 25 Sep 2007 16:21:38 +0000 Subject: Add support for describing the options in the C programs. --- src/mountinfo.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/mountinfo.c') diff --git a/src/mountinfo.c b/src/mountinfo.c index 2b361d14..a0250e83 100644 --- a/src/mountinfo.c +++ b/src/mountinfo.c @@ -263,6 +263,20 @@ static struct option longopts[] = { longopts_COMMON { NULL, 0, NULL, 0} }; +static const char * const longopts_help[] = { + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + "", + longopts_help_COMMON +}; #include "_usage.c" int mountinfo (int argc, char **argv) -- cgit v1.2.3