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 @@ 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", - [<asscaddr, associate-address>], - [<associate IP address with an instance>], - [<INSTANCE IP-OR-ALLOC-ID>], - [<gnu>], - [<noversion>]) +ECLAT_CL_BEGIN([<associate IP address with an instance>], + [<INSTANCE IP-OR-ALLOC-ID>]); OPTION(vpc,v,, [<assign VPC addresses>]) @@ -45,11 +41,11 @@ BEGIN reassoc = 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)) } +>]) |