[Dev] [Libretools - Bug #253] The help output of every command looks a little different.

labs at parabola.nu labs at parabola.nu
Wed Oct 2 00:50:34 GMT 2013



Issue #253 has been updated by lukeshu.

Assignee set to lukeshu
% Done changed from 30 to 90

The `prose()`, `bullet()`, and `flag()` routines in libremessages now make formatting the output consistently really easy.
----------------------------------------
Bug #253: The help output of every command looks a little different.
https://labs.parabola.nu/issues/253

Author: lukeshu
Status: open
Priority: bug
Assignee: lukeshu
Category: 
Target version: don't break and confuse parabolers


Proposed guidelines:

The format should be:

<pre>Usage: ${0##*/} [OPTIONS] THINGS_IN_UPPERCASE
One line description of program

Optional longer description of behavior.

Options:
 Optional subsection: (indented 1 space)
  -o <CAPITAL>  Description starting after 16 columns.
                (the option is indented with 2 spaces)
-------------->|<-- 16 columns
123456789
         0123456</pre>

The '-h' option to get help is listed last, with then description "Show this message".



--
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://labs.parabola.nu/my/account



More information about the Dev mailing list