diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-11-19 21:59:30 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2015-11-19 21:59:30 +0200 |
commit | 962330ecbabd621de10aa7858d8034dabf0b1d36 (patch) | |
tree | 1adaf40cda16a4511f6e64a753e0de815639239b /src | |
parent | cca914ab74774098e30418df29bd817e4c2f1501 (diff) | |
download | eclat-962330ecbabd621de10aa7858d8034dabf0b1d36.tar.gz eclat-962330ecbabd621de10aa7858d8034dabf0b1d36.tar.bz2 |
Add missing files to repo
Diffstat (limited to 'src')
-rw-r--r-- | src/mksubnet-cl.opt | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/src/mksubnet-cl.opt b/src/mksubnet-cl.opt new file mode 100644 index 0000000..a870cc0 --- /dev/null +++ b/src/mksubnet-cl.opt @@ -0,0 +1,38 @@ +/* This file is part of Eclat. + Copyright (C) 2012-2015 Sergey Poznyakoff. + + Eclat is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3, or (at your option) + any later version. + + Eclat is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with Eclat. If not, see <http://www.gnu.org/licenses/>. */ + +char const *zone; + +ECLAT_CL_BEGIN([<create subnet>], + [<CIDR VPC-ID>]) + +OPTION(zone,z,[<ZONE>], + [<set availablility zone>]) +ALIAS(availability-zone) +BEGIN + zone = optarg; +END + +ECLAT_CL_END + +ECLAT_CL_PARSER(mksubnet_parse_options, + [<int argc, char *argv[], int *index>],[< +{ + GETOPT(argc, argv, *index, exit(EX_USAGE)) +} +>]) + + |