From eab7458771d6b8d680f1e4da8819dd699e83acf7 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 27 Dec 2017 20:18:22 +1100 Subject: general: Add message about deprecation. --- pywal/__main__.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pywal/__main__.py b/pywal/__main__.py index 069b6ce..4698851 100644 --- a/pywal/__main__.py +++ b/pywal/__main__.py @@ -55,6 +55,9 @@ def get_args(args): help="Quiet mode, don\"t print anything and \ don't display notifications.") + arg.add_argument("-r", action="store_true", + help="Deprecated: Use (cat ~/.cache/wal/sequences &) instead.") + arg.add_argument("-R", action="store_true", help="Restore previous colorscheme.") @@ -83,6 +86,10 @@ def process_args(args): print("wal", __version__) sys.exit(0) + if args.r: + print("Deprecated: Use (cat ~/.cache/wal/sequences &) instead.") + sys.exit(1) + if args.q: sys.stdout = sys.stderr = open(os.devnull, "w") -- cgit v1.2.3