summaryrefslogtreecommitdiffabout
path: root/src/mktags-cl.opt
authorSergey Poznyakoff <gray@gnu.org.ua>2013-04-25 15:24:50 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2013-04-25 15:24:50 (GMT)
commite545233cb313c7a217c0839390a996744f92edf5 (patch) (side-by-side diff)
treed6c731e8bb23dd8549dd1e512997dd59bd8380bb /src/mktags-cl.opt
parent6788b695b4fa8882fc20ccee6312977e0d8e8a81 (diff)
downloadeclat-e545233cb313c7a217c0839390a996744f92edf5.tar.gz
eclat-e545233cb313c7a217c0839390a996744f92edf5.tar.bz2
Provide additional m4 magic for creating cl interfaces.
* src/Makefile.am (EXTRA_DIST): Add eclatcl.m4 * src/eclatcl.m4: New file. * src/detvol-cl.opt: Rename to src/devol-cl.opt * src/cmdline.opt: Fix a typo * src/allocaddr-cl.opt: Rewrite usning new m4 macros. * src/asscaddr-cl.opt: Likewise. * src/cpimg-cl.opt: Likewise. * src/cpsnap-cl.opt: Likewise. * src/disasaddr-cl.opt: Likewise. * src/freeaddr-cl.opt: Likewise. * src/lsaddr-cl.opt: Likewise. * src/lsattr-cl.opt: Likewise. * src/lsimg-cl.opt: Likewise. * src/lsistat-cl.opt: Likewise. * src/lssg-cl.opt: Likewise. * src/lssnap-cl.opt: Likewise. * src/lstag-cl.opt: Likewise. * src/mkimg-cl.opt: Likewise. * src/mkinst-cl.opt: Likewise. * src/mktags-cl.opt: Likewise. * src/mkvol-cl.opt: Likewise. * src/allocaddr.c: Update calls to parse_options. * src/asscaddr.c: Likewise. * src/cpimg.c: Likewise. * src/cpsnap.c: Likewise. * src/devol.c: Likewise. * src/disasaddr.c: Likewise. * src/freeaddr.c: Likewise. * src/lsaddr.c: Likewise. * src/lsattr.c: Likewise. * src/lsimg.c: Likewise. * src/lsistat.c: Likewise. * src/lssg.c: Likewise. * src/lssnap.c: Likewise. * src/lstag.c: Likewise. * src/mkimg.c: Likewise. * src/mkinst.c: Likewise. * src/mktags.c: Likewise. * src/mkvol.c: Likewise.
Diffstat (limited to 'src/mktags-cl.opt') (more/less context) (ignore whitespace changes)
-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.