Bug 460736

Summary: create_book command-line help is wrong
Product: [Community] Publican Reporter: Jared Smith <jsmith.fedora>
Component: publicanAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: medium    
Version: 1.6CC: jsmith.fedora, mmcallis, publican-list
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.37 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-09-09 04:21:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jared Smith 2008-08-30 16:33:18 UTC
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):
publican-0.34-0.fc9.noarch

How reproducible:
Every time

Steps to Reproduce:
1. create_book --help
2. create_book --article --name 'Bugzilla'
3.
  
Actual results:

[jsmith@localhost tmp]$ create_book --article --name 'Bugzilla'
Unknown option: article

Expected results:

I would expect the help text to match the actual code.

Additional info:

I haven't checked yet, but does the website documentation need to be updated as well?

Comment 1 Jeff Fearn 🐞 2008-09-09 04:21:51 UTC
Corrected help text and documentation.