Red Hat Bugzilla – Bug 460736
create_book command-line help is wrong
Last modified: 2010-11-23 23:16:55 EST
Description of problem:
If your run "create_book --help", it shows to add the --article option to create an article instead of a book. When you go and try to use the --article option, you get informed that it's not a valid option. Only by searching the source did I find that you instead have to use "--type=Article". Also, I would think that the type shouldn't be case sensitive, as I'm sure people will mistakenly use "--type=article" (notice the lower case 'a').
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create_book --help
2. create_book --article --name 'Bugzilla'
[jsmith@localhost tmp]$ create_book --article --name 'Bugzilla'
Unknown option: article
I would expect the help text to match the actual code.
I haven't checked yet, but does the website documentation need to be updated as well?
Corrected help text and documentation.