[Koha-bugs] [Bug 10896] Add a --verbose option to koha-translate
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jan 6 21:13:51 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10896
Magnus Enger <magnus at enger.priv.no> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|Needs Signoff |Failed QA
--- Comment #2 from Magnus Enger <magnus at enger.priv.no> ---
The options seem to do their job nicely, but I see one small problem in the man
page:
<arg>[<option>-v</option>|<option>--verbose</option>]</arg>
The literal brackets [] result in double brackets in the man page:
koha-translate [-i|--install] [-u|--update] [-r|--remove] [-c|--check]
[[-v|--verbose]] {lang_code}
Just remove the literal brackets and it should be OK.
But while yu are in there, could you also put the two synopsis'es (?) into
separate <cmdsynopsis>? From this:
<refsynopsisdiv>
<cmdsynopsis>
<command>koha-translate</command>
<arg><option>-i</option>|<option>--install</option></arg>
<arg><option>-u</option>|<option>--update</option></arg>
<arg><option>-r</option>|<option>--remove</option></arg>
<arg><option>-c</option>|<option>--check</option></arg>
<arg>[<option>-v</option>|<option>--verbose</option>]</arg> <arg choice="req"
rep="norepeat"><replaceable>lang_code</replaceable></arg>
<command>koha-translate</command>
<arg><option>-l</option>|<option>--list</option></arg>
<arg><option>-a</option>|<option>--available</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
To this:
<refsynopsisdiv>
<cmdsynopsis>
<command>koha-translate</command>
<arg><option>-i</option>|<option>--install</option></arg>
<arg><option>-u</option>|<option>--update</option></arg>
<arg><option>-r</option>|<option>--remove</option></arg>
<arg><option>-c</option>|<option>--check</option></arg>
<arg>[<option>-v</option>|<option>--verbose</option>]</arg> <arg choice="req"
rep="norepeat"><replaceable>lang_code</replaceable></arg>
</cmdsynopsis>
<cmdsynopsis>
<command>koha-translate</command>
<arg><option>-l</option>|<option>--list</option></arg>
<arg><option>-a</option>|<option>--available</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
As it is now, the two lines are run into one, this will put them on separate
lines.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list