aboutsummaryrefslogtreecommitdiff
path: root/src/freeaddr-cl.opt
diff options
context:
space:
mode:
Diffstat (limited to 'src/freeaddr-cl.opt')
-rw-r--r--src/freeaddr-cl.opt17
1 files changed, 7 insertions, 10 deletions
diff --git a/src/freeaddr-cl.opt b/src/freeaddr-cl.opt
index 5f3a3f9..be70065 100644
--- a/src/freeaddr-cl.opt
+++ b/src/freeaddr-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",
- [<freeaddr, release-address>],
- [<release Elastic IP address>],
- [<IP-OR-ALLOCID>],
- [<gnu>],
- [<noversion>])
+ECLAT_CL_BEGIN([<release Elastic IP address>],
+ [<IP-OR-ALLOCID>])
OPTION(vpc,v,,
[<assign VPC addresses>])
@@ -27,11 +23,12 @@ BEGIN
vpc = 1;
END
-OPTIONS_END
+ECLAT_CL_END
-static void
-parse_options(int argc, char *argv[], int *index)
+ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[], int *index>],
+[<
{
GETOPT(argc, argv, *index, exit(EX_USAGE))
}
-
+>])
+

Return to:

Send suggestions and report system problems to the System administrator.