summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2017-12-27 20:18:22 +1100
committerDylan Araps <dylan.araps@gmail.com>2017-12-27 20:18:22 +1100
commiteab7458771d6b8d680f1e4da8819dd699e83acf7 (patch)
treedaa57737266f39a0faac31046e541f477a2404e5
parentc236c7e0372580bcc74fa01988c1486db5e622b4 (diff)
general: Add message about deprecation.
-rw-r--r--pywal/__main__.py7
1 files changed, 7 insertions, 0 deletions
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")