aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2013-12-17 10:37:05 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2013-12-17 10:37:05 +0200
commit4e475e13490290153db76b7d8014cac3d33fff0f (patch)
tree63eb4cb5f7792fc514417704d5652fc7aa010126 /src
parent9750430d4d9b21bc57c2ecb4bdfd60977808b938 (diff)
downloadeclat-4e475e13490290153db76b7d8014cac3d33fff0f.tar.gz
eclat-4e475e13490290153db76b7d8014cac3d33fff0f.tar.bz2
Group sg options by functionality in --help output.
Diffstat (limited to 'src')
-rw-r--r--src/sg-cl.opt14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/sg-cl.opt b/src/sg-cl.opt
index 5eaa426..aa44095 100644
--- a/src/sg-cl.opt
+++ b/src/sg-cl.opt
@@ -17,6 +17,7 @@
ECLAT_CL_BEGIN([<modify ingress rules of a security group>],
[<[GROUPARG]>])
+GROUP(Commands)
OPTION(add,A,,
[<add rules>])
BEGIN
@@ -36,11 +37,7 @@ BEGIN
command = "DescribeSecurityGroups";
END
-OPTION(name,n,,
- [<the GROUPARG argument is a group name>])
-BEGIN
- dest_n = GROUP_NAME;
-END
+GROUP(Rule constituents)
OPTION(protocol,p,[<PROTO>],
[<IP protocol name or number>])
@@ -100,6 +97,13 @@ BEGIN
from_port = optarg;
END
+GROUP(Modifiers)
+OPTION(name,n,,
+ [<the GROUPARG argument is a group name>])
+BEGIN
+ dest_n = GROUP_NAME;
+END
+
OPTION(next,N,,
[<delimits rules>])
ALIAS(new)

Return to:

Send suggestions and report system problems to the System administrator.