Description of problem: When doing a "publican --version" I receive the following: [christensene@desk pdf]$ publican --version Unknown option: version Usage: publican <global options> publican <action> <options> Global Options --help Display help message --man Display Full man page --help_actions Display a list of valid actions --version Display the version of Publican Run: 'publican <action> --help' for details on action usage Valid actions are: build Transform XML to other formats (pdf, html, html-single) clean Remove all temporary files and directories clean_ids Run clean ids for source XML cleanset Remove local copies remote set books create Create a new Book|Set|Article|brand create_brand Create a new Brand help_config Display help text for the configuration file installbrand Install a brand to the supplied location old2new Create a publican.cfg file for an old Book|Article|Set Makefile package Package a language for shipping printtree Print a tree of the xi:includes update_po Update the PO files update_pot Update the POT files Version-Release number of selected component (if applicable): 1.1-0.fc12
I've checked a fix for this in to the repo. A work around for this is to use -v which does work. $ publican -v version=1.2 The next version will support both --version and -v.
Heck, I didn't even think about trying that. Thanks.
I had to change the behavior because publican --version clashes with publican create --version 3.0 ... So in publican 1.3 only 'publican -v' will get the version of publican and '--version' will only be used when creating books. Sorry for any inconvenience. Cheers, Jeff.
Cool. I think it was listed in the publican --help menu.
I fixed the help text: ]$ publican --help Usage: publican <global options> publican <action> <options> Global Options --help Display help message --man Display Full man page --help_actions Display a list of valid actions -v Display the version of Publican ...
Works for me.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
*** Bug 541450 has been marked as a duplicate of this bug. ***
Sorry for the duplicate Jeff. I just downloaded 1.2 this morning. And I successfully used publican -v. But the publican --help command still displays the --version usage info. Is the new -v parameter help info scheduled for the 1.3 release, or was it meant to make it into 1.2? [jmorgan@jmorgan ~]$ publican -v version=1.2 [jmorgan@jmorgan ~]$ publican -help Usage: publican <global options> publican <action> <options> Global Options --help Display help message --man Display Full man page --help_actions Display a list of valid actions --version Display the version of Publican Run: 'publican <action> --help' for details on action usage Valid actions are: build Transform XML to other formats (pdf, html, html-single) clean Remove all temporary files and directories clean_ids Run clean ids for source XML cleanset Remove local copies remote set books create Create a new Book|Set|Article|brand create_brand Create a new Brand help_config Display help text for the configuration file installbrand Install a brand to the supplied location old2new Create a publican.cfg file for an old Book|Article|Set Makefile package Package a language for shipping printtree Print a tree of the xi:includes update_po Update the PO files update_pot Update the POT files [jmorgan@jmorgan ~]$
(In reply to comment #3) > So in publican 1.3 only 'publican -v' will get the version of publican and > '--version' will only be used when creating books. Making this clearer.
publican-1.3-0.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/publican-1.3-0.fc12
publican-1.3-0.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/publican-1.3-0.fc11
publican-1.3-0.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
publican-1.3-0.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 564401 has been marked as a duplicate of this bug. ***