tShow descriptions of options in usage dialouge. - plumber - Plumber – a modern approach to plumbing (HTM) git clone git://r-36.net/plumber (DIR) Log (DIR) Files (DIR) Refs (DIR) LICENSE --- (DIR) commit 7e31e05418f45f95816da1bdc809d101301ee2c8 (DIR) parent 7ba9ea7534de8f9742dd9808d5859b1666db85de (HTM) 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(-) --- (DIR) diff --git a/bin/plumber b/bin/plumber t@@ -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):