aboutsummaryrefslogtreecommitdiff
path: root/src/lsaddr-cl.opt
diff options
context:
space:
mode:
Diffstat (limited to 'src/lsaddr-cl.opt')
-rw-r--r--src/lsaddr-cl.opt15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/lsaddr-cl.opt b/src/lsaddr-cl.opt
index 071bb27..c663f51 100644
--- a/src/lsaddr-cl.opt
+++ b/src/lsaddr-cl.opt
@@ -14,12 +14,8 @@
14 You should have received a copy of the GNU General Public License 14 You should have received a copy of the GNU General Public License
15 along with Eclat. If not, see <http://www.gnu.org/licenses/>. */ 15 along with Eclat. If not, see <http://www.gnu.org/licenses/>. */
16 16
17OPTIONS_COMMAND_BEGIN("eclat", 17ECLAT_CL_BEGIN([<describe elastic IP addresses>],
18 [<lsaddr, describe-addresses>], 18 [<[FILTER...]>])
19 [<describe elastic IP addresses>],
20 [<[FILTER...]>],
21 [<gnu>],
22 [<noversion>])
23 19
24OPTION(vpc,v,, 20OPTION(vpc,v,,
25 [<describe VPC addresses>]) 21 [<describe VPC addresses>])
@@ -27,7 +23,7 @@ BEGIN
27 vpc = 1; 23 vpc = 1;
28END 24END
29 25
30OPTIONS_END 26ECLAT_CL_END
31 27
32static char *domain_str[] = { "standard", "vpc", NULL }; 28static char *domain_str[] = { "standard", "vpc", NULL };
33static struct filter_descr filters[] = { 29static struct filter_descr filters[] = {
@@ -42,11 +38,10 @@ static struct filter_descr filters[] = {
42 { NULL } 38 { NULL }
43}; 39};
44 40
45static void 41ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[], int *index>], [<
46parse_options(int argc, char *argv[], int *index)
47{ 42{
48 available_filters = filters; 43 available_filters = filters;
49 proginfo.print_help_hook = list_filters; 44 proginfo.print_help_hook = list_filters;
50 GETOPT(argc, argv, *index, exit(EX_USAGE)) 45 GETOPT(argc, argv, *index, exit(EX_USAGE))
51} 46}
52 47>])

Return to:

Send suggestions and report system problems to the System administrator.