aboutsummaryrefslogtreecommitdiff
path: root/src/lssnap-cl.opt
diff options
context:
space:
mode:
Diffstat (limited to 'src/lssnap-cl.opt')
-rw-r--r--src/lssnap-cl.opt16
1 files changed, 6 insertions, 10 deletions
diff --git a/src/lssnap-cl.opt b/src/lssnap-cl.opt
index be1f0d9..bb020ca 100644
--- a/src/lssnap-cl.opt
+++ b/src/lssnap-cl.opt
@@ -24,12 +24,8 @@ struct param {
24 24
25static unsigned owner_idx = 1, rstby_idx = 1; 25static unsigned owner_idx = 1, rstby_idx = 1;
26 26
27OPTIONS_COMMAND_BEGIN("eclat", 27ECLAT_CL_BEGIN([<describe EC2 snapshots>],
28 [<lssnap, describe-snapshots>], 28 [<[SNAP-ID...] [FILTER...]]>])
29 [<describe EC2 snapshots>],
30 [<[SNAP-ID...] [FILTER...]]>],
31 [<gnu>],
32 [<noversion>])
33 29
34OPTION(owner,u,[<ID|self|amazon>], 30OPTION(owner,u,[<ID|self|amazon>],
35 [<return the snapshots owned by the specified owner>]) 31 [<return the snapshots owned by the specified owner>])
@@ -50,12 +46,12 @@ BEGIN
50 p->value = optarg; 46 p->value = optarg;
51 grecs_list_append(parmlist, p); 47 grecs_list_append(parmlist, p);
52END 48END
49
50ECLAT_CL_END
53 51
54OPTIONS_END 52ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[], int *index>], [<
55
56static void
57parse_options(int argc, char *argv[], int *index)
58{ 53{
59 parmlist = grecs_list_create(); 54 parmlist = grecs_list_create();
60 GETOPT(argc, argv, *index, exit(EX_USAGE)) 55 GETOPT(argc, argv, *index, exit(EX_USAGE))
61} 56}
57>])

Return to:

Send suggestions and report system problems to the System administrator.