diff options
Diffstat (limited to 'src/cpsnap-cl.opt')
-rw-r--r-- | src/cpsnap-cl.opt | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/cpsnap-cl.opt b/src/cpsnap-cl.opt index 13423b5..e075264 100644 --- a/src/cpsnap-cl.opt +++ b/src/cpsnap-cl.opt @@ -18,12 +18,8 @@ char *region; char *image; char *descr; -OPTIONS_COMMAND_BEGIN("eclat", - [<cpsnap, copy-snapshot>], - [<copy snapshot from another region>], - [<REGION SNAP-ID>], - [<gnu>], - [<noversion>]) +ECLAT_CL_BEGIN([<copy snapshot from another region>], + [<REGION SNAP-ID>]) OPTION(description,d,[<DESCR>], [<description for the new image>]) @@ -31,10 +27,9 @@ BEGIN descr = optarg; END -OPTIONS_END +ECLAT_CL_END -static void -parse_options(int argc, char *argv[]) +ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[]>],[< { int idx; @@ -47,3 +42,4 @@ parse_options(int argc, char *argv[]) region = argv[0]; image = argv[1]; } +>]) |