From 0d2c0daff0d8bbe64aa43d16d307a621d2187cce Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sat, 30 Dec 2017 07:08:44 +1100 Subject: general: More helpful error message --- pywal/__main__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pywal/__main__.py b/pywal/__main__.py index 1de3bf8..cb658d2 100644 --- a/pywal/__main__.py +++ b/pywal/__main__.py @@ -56,7 +56,7 @@ def get_args(args): don't display notifications.") arg.add_argument("-r", action="store_true", - help="Deprecated: Use \ + help="'wal -r' is deprecated: Use \ (cat ~/.cache/wal/sequences &) instead.") arg.add_argument("-R", action="store_true", @@ -94,7 +94,8 @@ def process_args(args): sys.exit(0) if args.r: - print("Deprecated: Use (cat ~/.cache/wal/sequences &) instead.") + print("'wal -r' is deprecated: " + "Use 'cat ~/.cache/wal/sequences' instead.") sys.exit(1) if args.q: -- cgit v1.2.3