Bug 471776 - create_book --article does not work. Please remove from help.
Summary: create_book --article does not work. Please remove from help.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Publican
Classification: Community
Component: publican
Version: 2.0
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Jeff Fearn 🐞
QA Contact: Content Services Development
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-11-16 05:33 UTC by Murray McAllister
Modified: 2015-01-04 22:35 UTC (History)
3 users (show)

Fixed In Version: 0.39
Clone Of:
Environment:
Last Closed: 2008-11-16 21:42:59 UTC
Embargoed:


Attachments (Terms of Use)
Patch to remove "--article" and update --help output (1020 bytes, text/plain)
2008-11-16 05:33 UTC, Murray McAllister
no flags Details

Description Murray McAllister 2008-11-16 05:33:15 UTC
Created attachment 323710 [details]
Patch to remove "--article" and update --help output

Description of problem:
The following do not work, and both result in printing the help:

create_book --article blah
create_book --article --name blah


Version-Release number of selected component (if applicable):
* publican-0.38-0.el5



Steps to Reproduce:
1. create_book --help
2. wonder if "--article" works.
3. run create_book --article
4. read <http://jfearn.fedorapeople.org/Publican/>
5. profit.
  


Expected results:

I think --article should be removed from the man page, and the man page made more clear about how to make an article. 

See attached patch. Made sure output was clean/in line in "create_book --help" and "create_book -man". Booyakasha.

Comment 1 Murray McAllister 2008-11-16 05:40:55 UTC
I guess "--name My_Article" should be "--name Article_Name", as per <http://jfearn.fedorapeople.org/Publican/sect-Publican-Using_the_publican_package-Creating_a_Book.html>.

Comment 2 Jeff Fearn 🐞 2008-11-16 21:42:59 UTC
Removed old help text from create_book and make type case insensitive.

Proper command is: create_book --name=The_Article_Of_Doom --type=Article

Comment 3 Fedora Update System 2009-01-15 02:56:31 UTC
publican-0.39-0.fc9, publican-fedora-0.16-0.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.