--- trunk/src/applications/staticProps/StaticPropsCmd.h 2010/11/19 20:26:36 1522 +++ trunk/src/applications/staticProps/StaticPropsCmd.h 2010/12/29 16:48:19 1531 @@ -1,6 +1,6 @@ /** @file StaticPropsCmd.h * @brief The header file for the command line option parser - * generated by GNU Gengetopt version 2.22 + * generated by GNU Gengetopt version 2.22.4 * http://www.gnu.org/software/gengetopt. * DO NOT modify this file, since it can be overwritten * @author GNU Gengetopt by Lorenzo Bettini */ @@ -20,10 +20,15 @@ extern "C" { #endif /* __cplusplus */ #ifndef CMDLINE_PARSER_PACKAGE -/** @brief the program name */ +/** @brief the program name (used for printing errors) */ #define CMDLINE_PARSER_PACKAGE "StaticProps" #endif +#ifndef CMDLINE_PARSER_PACKAGE_NAME +/** @brief the complete program name (used for help and version) */ +#define CMDLINE_PARSER_PACKAGE_NAME "StaticProps" +#endif + #ifndef CMDLINE_PARSER_VERSION /** @brief the program version */ #define CMDLINE_PARSER_VERSION "1.00" @@ -201,7 +206,7 @@ extern const char *gengetopt_args_info_help[]; * @param args_info the structure where option information will be stored * @return 0 if everything went fine, NON 0 if an error took place */ -int cmdline_parser (int argc, char * const *argv, +int cmdline_parser (int argc, char **argv, struct gengetopt_args_info *args_info); /** @@ -215,7 +220,7 @@ int cmdline_parser (int argc, char * const *argv, * @return 0 if everything went fine, NON 0 if an error took place * @deprecated use cmdline_parser_ext() instead */ -int cmdline_parser2 (int argc, char * const *argv, +int cmdline_parser2 (int argc, char **argv, struct gengetopt_args_info *args_info, int override, int initialize, int check_required); @@ -227,7 +232,7 @@ int cmdline_parser2 (int argc, char * const *argv, * @param params additional parameters for the parser * @return 0 if everything went fine, NON 0 if an error took place */ -int cmdline_parser_ext (int argc, char * const *argv, +int cmdline_parser_ext (int argc, char **argv, struct gengetopt_args_info *args_info, struct cmdline_parser_params *params);