diff options
Diffstat (limited to 'src/lsattr-cl.opt')
-rw-r--r-- | src/lsattr-cl.opt | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/lsattr-cl.opt b/src/lsattr-cl.opt index a50deb6..0f3c4ab 100644 --- a/src/lsattr-cl.opt +++ b/src/lsattr-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", - [<lsattr>], - [<List EC2 resource attributes>], - [<ID [ATTR]>], - [<gnu>], - [<noversion>]) +ECLAT_CL_BEGIN([<List EC2 resource attributes>], + [<ID [ATTR]>]) OPTION(instance,i,, [<instance ID>]) @@ -35,10 +31,10 @@ BEGIN idname = "SnapshotId"; 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)) } +>]) |