Description of problem: ipa-server-install: print unrecognized option instead of generic help ipa-server-install invocation can easily get quite long and then it's quite hard to catch a typo that makes i-s-i print help. Printing the actual unrecognized option would be much more helpful Version-Release number of selected component (if applicable): freeipa-server-3.2.0-2.fc19.armv7hl How reproducible: always Steps to Reproduce: 1. remove one leading '-' from some of the long options, e.g.: ipa-server-install [...] -http_pkcs12=... [...] 2. 3. Actual results: i-s-i prints help screen Expected results: i-s-i prints something like this: unrecognized option "-http_pkcs12=..." Additional info:
This is how Python's option parser behaves. When it hits -h/--help option, it quits parsing the command line and prints the help: # ipa-server-install --help --some-garbage -evenmoregarbage Usage: ipa-server-install [options] If you had tried any other option which does not begin with "h", you would get the error as expected: # ipa-server-install -setup-dns Usage: ipa-server-install [options] ipa-server-install: error: no such option: -s I am thus closing this bug as NOTABUG as the command behaves as expected.