general: Add message about deprecation.

This commit is contained in:
Dylan Araps 2017-12-27 20:18:22 +11:00
parent c236c7e037
commit eab7458771

View File

@ -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")