aboutsummaryrefslogtreecommitdiff
path: root/src/mktags-cl.opt
diff options
context:
space:
mode:
Diffstat (limited to 'src/mktags-cl.opt')
-rw-r--r--src/mktags-cl.opt14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/mktags-cl.opt b/src/mktags-cl.opt
index 9da23ae..e622db8 100644
--- a/src/mktags-cl.opt
+++ b/src/mktags-cl.opt
@@ -22,12 +22,8 @@ struct resource {
char *resid;
};
-OPTIONS_COMMAND_BEGIN("eclat",
- [<mktags, create-tags>],
- [<create tags for the specified resources>],
- [<TAG[=VALUE] [TAG[=VALUE...]]>],
- [<gnu>],
- [<noversion>])
+ECLAT_CL_BEGIN([<create tags for the specified resources>],
+ [<TAG[=VALUE] [TAG[=VALUE...]]>])
OPTION(resource-id,r,[<[MAP:]ID>],
[<resource for which to create the tags>])
@@ -87,11 +83,11 @@ BEGIN
from_file = optarg;
END
-OPTIONS_END
+ECLAT_CL_END
-static void
-parse_options(int argc, char *argv[], int *index)
+ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[], int *index>],[<
{
reslist = grecs_list_create();
GETOPT(argc, argv, *index, exit(EX_USAGE))
}
+>])

Return to:

Send suggestions and report system problems to the System administrator.