mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-13 08:50:53 +01:00
general: More helpful error message
This commit is contained in:
parent
b37d70bdbf
commit
0d2c0daff0
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user