diff options
Diffstat (limited to 'src/asscaddr-cl.opt')
-rw-r--r-- | src/asscaddr-cl.opt | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/asscaddr-cl.opt b/src/asscaddr-cl.opt index 87846e3..321f7c4 100644 --- a/src/asscaddr-cl.opt +++ b/src/asscaddr-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 | ||
17 | OPTIONS_COMMAND_BEGIN("eclat", | 17 | ECLAT_CL_BEGIN([<associate IP address with an instance>], |
18 | [<asscaddr, associate-address>], | 18 | [<INSTANCE IP-OR-ALLOC-ID>]); |
19 | [<associate IP address with an instance>], | ||
20 | [<INSTANCE IP-OR-ALLOC-ID>], | ||
21 | [<gnu>], | ||
22 | [<noversion>]) | ||
23 | 19 | ||
24 | OPTION(vpc,v,, | 20 | OPTION(vpc,v,, |
25 | [<assign VPC addresses>]) | 21 | [<assign VPC addresses>]) |
@@ -45,11 +41,11 @@ BEGIN | |||
45 | reassoc = 1; | 41 | reassoc = 1; |
46 | END | 42 | END |
47 | 43 | ||
48 | OPTIONS_END | 44 | ECLAT_CL_END |
49 | 45 | ||
50 | static void | 46 | ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[], int *index>],[< |
51 | parse_options(int argc, char *argv[], int *index) | ||
52 | { | 47 | { |
53 | GETOPT(argc, argv, *index, exit(EX_USAGE)) | 48 | GETOPT(argc, argv, *index, exit(EX_USAGE)) |
54 | } | 49 | } |
50 | >]) | ||
55 | 51 | ||