aboutsummaryrefslogtreecommitdiff
path: root/src/lssg-cl.opt
diff options
context:
space:
mode:
Diffstat (limited to 'src/lssg-cl.opt')
-rw-r--r--src/lssg-cl.opt15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/lssg-cl.opt b/src/lssg-cl.opt
index 3898708..77dde5b 100644
--- a/src/lssg-cl.opt
+++ b/src/lssg-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([<returns information about security groups>],
18 [<lssg, describe-security-groups>], 18 [<[FILTER...] [ID...]>])
19 [<returns information about security groups>],
20 [<[FILTER...] [ID...]>],
21 [<gnu>],
22 [<noversion>])
23 19
24OPTION(name,n,, 20OPTION(name,n,,
25 [<treat non-filter arguments as group names, instead of group IDs>]) 21 [<treat non-filter arguments as group names, instead of group IDs>])
@@ -27,7 +23,7 @@ BEGIN
27 name_option = 1; 23 name_option = 1;
28END 24END
29 25
30OPTIONS_END 26ECLAT_CL_END
31 27
32static char *proto_str[] = { 28static char *proto_str[] = {
33 "tcp", "udp", "icmp", "or a protocol number", NULL 29 "tcp", "udp", "icmp", "or a protocol number", NULL
@@ -49,11 +45,10 @@ static struct filter_descr filters[] = {
49 { NULL } 45 { NULL }
50}; 46};
51 47
52static void 48ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[], int *index>],[<
53parse_options(int argc, char *argv[], int *index)
54{ 49{
55 available_filters = filters; 50 available_filters = filters;
56 proginfo.print_help_hook = list_filters; 51 proginfo.print_help_hook = list_filters;
57 GETOPT(argc, argv, *index, exit(EX_USAGE)) 52 GETOPT(argc, argv, *index, exit(EX_USAGE))
58} 53}
59 54>])

Return to:

Send suggestions and report system problems to the System administrator.