mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-05-22 01:00:56 +02: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.")
|
don't display notifications.")
|
||||||
|
|
||||||
arg.add_argument("-r", action="store_true",
|
arg.add_argument("-r", action="store_true",
|
||||||
help="Deprecated: Use \
|
help="'wal -r' is deprecated: Use \
|
||||||
(cat ~/.cache/wal/sequences &) instead.")
|
(cat ~/.cache/wal/sequences &) instead.")
|
||||||
|
|
||||||
arg.add_argument("-R", action="store_true",
|
arg.add_argument("-R", action="store_true",
|
||||||
@ -94,7 +94,8 @@ def process_args(args):
|
|||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
if args.r:
|
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)
|
sys.exit(1)
|
||||||
|
|
||||||
if args.q:
|
if args.q:
|
||||||
|
Loading…
Reference in New Issue
Block a user