aboutsummaryrefslogtreecommitdiff
path: root/src/mkinst-cl.opt
diff options
context:
space:
mode:
Diffstat (limited to 'src/mkinst-cl.opt')
-rw-r--r--src/mkinst-cl.opt15
1 files changed, 6 insertions, 9 deletions
diff --git a/src/mkinst-cl.opt b/src/mkinst-cl.opt
index 15778d1..62654f0 100644
--- a/src/mkinst-cl.opt
+++ b/src/mkinst-cl.opt
@@ -61,12 +61,8 @@ read_user_data(const char *file)
61 user_data[st.st_size] = 0; 61 user_data[st.st_size] = 0;
62} 62}
63 63
64OPTIONS_COMMAND_BEGIN("eclat", 64ECLAT_CL_BEGIN([<launch new instances>],
65 [<mkinst, run-instances>], 65 [<AMI-ID>])
66 [<launch new instances>],
67 [<AMI-ID>],
68 [<gnu>],
69 [<noversion>])
70 66
71OPTION(,n,[<N>], 67OPTION(,n,[<N>],
72 [<number of instances to launch>]) 68 [<number of instances to launch>])
@@ -218,14 +214,15 @@ BEGIN
218 ebs_opt = 1; 214 ebs_opt = 1;
219END 215END
220 216
221OPTIONS_END 217ECLAT_CL_END
222 218
223static void 219ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[]>],[<
224parse_options(int argc, char *argv[])
225{ 220{
226 int idx; 221 int idx;
222
227 GETOPT(argc, argv, idx, exit(EX_USAGE)) 223 GETOPT(argc, argv, idx, exit(EX_USAGE))
228 if (idx != argc-1) 224 if (idx != argc-1)
229 die(EX_USAGE, "bad number of arguments"); 225 die(EX_USAGE, "bad number of arguments");
230 ami = argv[idx]; 226 ami = argv[idx];
231} 227}
228>])

Return to:

Send suggestions and report system problems to the System administrator.