diff options
Diffstat (limited to 'src/allocaddr-cl.opt')
-rw-r--r-- | src/allocaddr-cl.opt | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/allocaddr-cl.opt b/src/allocaddr-cl.opt index c618375..c29b4f3 100644 --- a/src/allocaddr-cl.opt +++ b/src/allocaddr-cl.opt | |||
@@ -14,12 +14,7 @@ | |||
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 | ||
17 | OPTIONS_COMMAND_BEGIN("eclat", | 17 | ECLAT_CL_BEGIN([<allocate Elastic IP address>]) |
18 | [<allocaddr, allocate-address>], | ||
19 | [<allocate Elastic IP address>], | ||
20 | [<>], | ||
21 | [<gnu>], | ||
22 | [<noversion>]) | ||
23 | 18 | ||
24 | OPTION(vpc,v,, | 19 | OPTION(vpc,v,, |
25 | [<assign VPC addresses>]) | 20 | [<assign VPC addresses>]) |
@@ -27,11 +22,10 @@ BEGIN | |||
27 | vpc = 1; | 22 | vpc = 1; |
28 | END | 23 | END |
29 | 24 | ||
30 | OPTIONS_END | 25 | ECLAT_CL_END |
31 | 26 | ||
32 | static void | 27 | ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[], int *index>],[< |
33 | parse_options(int argc, char *argv[], int *index) | ||
34 | { | 28 | { |
35 | GETOPT(argc, argv, *index, exit(EX_USAGE)) | 29 | GETOPT(argc, argv, *index, exit(EX_USAGE)) |
36 | } | 30 | } |
37 | 31 | >]) | |