From 1efebd2b5fd9e04c892500a1108ccbd20c146f31 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Thu, 25 Apr 2013 14:34:18 +0300 Subject: Improve help and usage output. * NEWS: Version 0.9.90 * configure.ac: Likewise. * grecs: Upgrade. * src/allocaddr-cl.opt: Use OPTIONS_COMMAND_BEGIN to declare subcommand. Remove the nousage flag. * src/cpimg-cl.opt: Likewise. * src/cpsnap-cl.opt: Likewise. * src/asscaddr-cl.opt: Likewise. * src/detvol-cl.opt: Likewise. * src/disasaddr-cl.opt: Likewise. * src/freeaddr-cl.opt: Likewise. * src/lsaddr-cl.opt: Likewise. * src/lsattr-cl.opt: Likewise. * src/lsimg-cl.opt: Likewise. * src/lsistat-cl.opt: Likewise. * src/lssg-cl.opt: Likewise. * src/lssnap-cl.opt: Likewise. * src/lstag-cl.opt: Likewise. * src/mkimg-cl.opt: Likewise. * src/mkinst-cl.opt: Likewise. * src/mktags-cl.opt: Likewise. * src/mkvol-cl.opt: Likewise. * src/generic-cl.opt (generic_parse_options): Change signature. Use subcmd member of struct grecs_proginfo. * src/eclat.h (eclat_do_command): New proto. (generic_parse_options): Change signature. * src/atvol.c: Update call to generic_parse_options. * src/deimg.c: Likewise. * src/getconout.c: Likewise. * src/lsiattr.c: Likewise. * src/lsinst.c: Likewise. * src/lsreg.c: Likewise. * src/lssattr.c: Likewise. * src/lsvol.c: Likewise. * src/lszon.c: Likewise. * src/mksnap.c: Likewise. * src/rmsnap.c: Likewise. * src/rmvol.c: Likewise. * src/setiattr.c: Likewise. * src/startstop.c: Likewise. * src/util.c (translate_ids): Remove unused variable. --- src/mktags-cl.opt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mktags-cl.opt') diff --git a/src/mktags-cl.opt b/src/mktags-cl.opt index 0ca52e3..9da23ae 100644 --- a/src/mktags-cl.opt +++ b/src/mktags-cl.opt @@ -22,11 +22,11 @@ struct resource { char *resid; }; -OPTIONS_BEGIN("eclat create-tags", +OPTIONS_COMMAND_BEGIN("eclat", + [], [], [], [], - [], []) OPTION(resource-id,r,[<[MAP:]ID>], -- cgit v1.2.1