missing short cli options

Issue #43 resolved
skaluzka created an issue

hi,

all short command line options are missing. there is no -p, -h, -R and so on

[kaluzka@archbang src]$ ./vera++ -h
vera++: unrecognised option '-h'

Options:
  -  [ --profile ] arg                  execute all rules from the given 
                                        profile
  -  [ --rule ] arg                     execute the given rule (note: the .tcl 
                                        extension is added automatically. can 
                                        be used many times.)
  --transform arg                       execute the given transformation
  -  [ --std-report ] arg               write the standard (gcc-like) report to
                                        thisfile. Default is standard or error 
                                        output depending on the options. (note:
                                        may be used many times.)
  -  [ --vc-report ] arg                write the Visual C report to this file.
                                        Not used by default. (note: may be used
                                        many times.)
  -  [ --xml-report ] arg               write the XML report to this file. Not 
                                        used by default. (note: may be used 
                                        many times.)
  -  [ --checkstyle-report ] arg        write the checkstyle report to this 
                                        file. Not used by default. (note: may 
                                        be used many times.)
  -  [ --show-rule ]                    include rule name in each report
  -  [ --no-duplicate ]                 do not duplicate messages if a single 
                                        rule is violated many times in a single
                                        line of code
  -  [ --warning ]                      reports are marked as warning and 
                                        generated on error output
  -  [ --error ]                        reports are marked as error and 
                                        generated on error output. A non zero 
                                        exit code is used when one or more 
                                        reports are generated.
  -  [ --quiet ]                        don't display the reports
  -  [ --summary ]                      display the number of reports and the 
                                        number of processed files
  --parameters arg                      read parameters from file (note: can be
                                        used many times)
  -  [ --parameter ] arg                provide parameters to the scripts as 
                                        name=value (note: can be used many 
                                        times)
  --exclusions arg                      read exclusions from file (note: can be
                                        used many times)
  -  [ --inputs ] arg                   the inputs are read from that file 
                                        (note: one file per line. can be used 
                                        many times.)
  -  [ --root ] arg                     use the given directory as the vera 
                                        root directory
  --verbose                             Print descriptions of the parser and 
                                        processing.
  -  [ --config-file-preprocessing ] arg
                                        Specifies a config file which contains 
                                        the"include" directories of the project
                                        and the system.          This file also
                                        contains the predefined macros list.
  -  [ --help ]                         show this help message and exit
  --version                             show vera++'s version and exit

[kaluzka@archbang src]$ 

Comments (4)

  1. Gaëtan Lehmann

    fix missing short options - fixes #43

    note that --config-file-preprocessing don't have a short version anymore, as it was conflicting with --root's short version

    → <<cset bbbfb59ec9f1>>

  2. Log in to comment