From 5afcb45d8bef004dec763789076eea33f08cfdb8 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Tue, 30 May 2017 11:23:57 +0200 Subject: [PATCH] properly align usage message of crypto.py --- deltatar/crypto.py | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/deltatar/crypto.py b/deltatar/crypto.py index bd87763..e49574f 100755 --- a/deltatar/crypto.py +++ b/deltatar/crypto.py @@ -1509,11 +1509,12 @@ def usage (err=False): out = print if err is True: out = noise + indent = ' ' * len (SELF) out ("usage: %s SUBCOMMAND { --help" % SELF) - out (" | [ -v ] { -p PASSWORD | -k KEY }") - out (" { { -i | --in } { - | SOURCE } }") - out (" { { -o | --out } { - | DESTINATION } }") - out (" { -D | --no-decrypt } { -S | --split }") + out (" %s | [ -v ] { -p PASSWORD | -k KEY }" % indent) + out (" %s { { -i | --in } { - | SOURCE } }" % indent) + out (" %s { { -o | --out } { - | DESTINATION } }" % indent) + out (" %s { -D | --no-decrypt } { -S | --split }" % indent) out ("") out ("\twhere") out ("\t\tSUBCOMMAND main mode: { process | scrypt }") -- 1.7.1