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 @@
You should have received a copy of the GNU General Public License
along with Eclat. If not, see <http://www.gnu.org/licenses/>. */
-OPTIONS_COMMAND_BEGIN("eclat",
- [<lssg, describe-security-groups>],
- [<returns information about security groups>],
- [<[FILTER...] [ID...]>],
- [<gnu>],
- [<noversion>])
+ECLAT_CL_BEGIN([<returns information about security groups>],
+ [<[FILTER...] [ID...]>])
OPTION(name,n,,
[<treat non-filter arguments as group names, instead of group IDs>])
@@ -27,7 +23,7 @@ BEGIN
name_option = 1;
END
-OPTIONS_END
+ECLAT_CL_END
static char *proto_str[] = {
"tcp", "udp", "icmp", "or a protocol number", NULL
@@ -49,11 +45,10 @@ static struct filter_descr filters[] = {
{ NULL }
};
-static void
-parse_options(int argc, char *argv[], int *index)
+ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[], int *index>],[<
{
available_filters = filters;
proginfo.print_help_hook = list_filters;
GETOPT(argc, argv, *index, exit(EX_USAGE))
}
-
+>])

Return to:

Send suggestions and report system problems to the System administrator.