mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-29 03:13:47 +01:00
general: Add message about deprecation.
This commit is contained in:
parent
c236c7e037
commit
eab7458771
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user