plumber

Plumber – a modern approach to plumbing
git clone git://r-36.net/plumber
Log | Files | Refs | LICENSE

commit 7e31e05418f45f95816da1bdc809d101301ee2c8
parent 7ba9ea7534de8f9742dd9808d5859b1666db85de
Author: Spenser Truex <truex@equwal.com>
Date:   Sun, 10 Jan 2021 14:44:17 -0800

Show descriptions of options in usage dialouge.

plumber -h to see.

Signed-off-by: Christoph Lohmann <20h@r-36.net>

Diffstat:
bin/plumber | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/bin/plumber b/bin/plumber @@ -149,6 +149,12 @@ def trimstr(s): def usage(app): app = os.path.basename(app) sys.stderr.write("usage: %s [-hdemty] string\n" % (app)) + sys.stderr.write("-h Show this help.\n") + sys.stderr.write("-d Set debug loglevel.\n") + sys.stderr.write("-e Do not handle arbitrary results.\n") + sys.stderr.write("-m Use menu.\n") + sys.stderr.write("-t Parse text.\n") + sys.stderr.write("-y Dry run.\n") sys.exit(1) def main(args):