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 @@ | |||
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([<List EC2 resource attributes>], |
18 | [<lsattr>], | 18 | [<ID [ATTR]>]) |
19 | [<List EC2 resource attributes>], | ||
20 | [<ID [ATTR]>], | ||
21 | [<gnu>], | ||
22 | [<noversion>]) | ||
23 | 19 | ||
24 | OPTION(instance,i,, | 20 | OPTION(instance,i,, |
25 | [<instance ID>]) | 21 | [<instance ID>]) |
@@ -35,10 +31,10 @@ BEGIN | |||
35 | idname = "SnapshotId"; | 31 | idname = "SnapshotId"; |
36 | END | 32 | END |
37 | 33 | ||
38 | OPTIONS_END | 34 | ECLAT_CL_END |
39 | 35 | ||
40 | static void | 36 | ECLAT_CL_PARSER(parse_options, [<int argc, char *argv[], int *index>],[< |
41 | parse_options(int argc, char *argv[], int *index) | ||
42 | { | 37 | { |
43 | GETOPT(argc, argv, *index, exit(EX_USAGE)) | 38 | GETOPT(argc, argv, *index, exit(EX_USAGE)) |
44 | } | 39 | } |
40 | >]) | ||