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; | |||
18 | char *image; | 18 | char *image; |
19 | char *descr; | 19 | char *descr; |
20 | 20 | ||
21 | OPTIONS_COMMAND_BEGIN("eclat", | 21 | ECLAT_CL_BEGIN([<copy snapshot from another region>], |
22 | [<cpsnap, copy-snapshot>], | 22 | [<REGION SNAP-ID>]) |
23 | [<copy snapshot from another region>], | ||
24 | [<REGION SNAP-ID>], | ||
25 | [<gnu>], | ||
26 | [<noversion>]) | ||
27 | 23 | ||
28 | OPTION(description,d,[<DESCR>], | 24 | OPTION(description,d,[<DESCR>], |
29 | [<description for the new image>]) | 25 | [<description for the new image>]) |
@@ -31,10 +27,9 @@ BEGIN | |||
31 | descr = optarg; | 27 | descr = optarg; |
32 | END | 28 | END |
33 | 29 | ||
34 | OPTIONS_END | 30 | ECLAT_CL_END |
35 | 31 | ||
36 | static void | 32 | ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[]>],[< |
37 | parse_options(int argc, char *argv[]) | ||
38 | { | 33 | { |
39 | int idx; | 34 | int idx; |
40 | 35 | ||
@@ -47,3 +42,4 @@ parse_options(int argc, char *argv[]) | |||
47 | region = argv[0]; | 42 | region = argv[0]; |
48 | image = argv[1]; | 43 | image = argv[1]; |
49 | } | 44 | } |
45 | >]) | ||