dylanaraps / pywal

🎨 Generate and change color-schemes on the fly.
MIT License
8.39k stars 327 forks source link

wal --backend doesn't print the available backends #223

Closed melchor629 closed 6 years ago

melchor629 commented 6 years ago

I'm on macOS with python 3 installed with brew and pywal installed with pip3 install --user pywal.

In the help says that wal --backend shows the list of available backends. But only works if there's more arguments set.

An example:

➜  ~ wal --backend -n -i Pictures/firewatch.png
Backends: ['haishoku', 'schemer2', 'colorz', 'wal', 'colorthief']
➜  ~ wal --backend
usage: wal [-h] [-a "alpha"] [-b background] [--backend [backend]]
           [--theme [/path/to/file or theme_name]] [-c]
           [-i "/path/to/img.jpg"] [-g] [-l] [-n] [-o "script_name"] [-q] [-r]
           [-R] [-s] [-t] [-v] [-e]
wal: error: No input specified.
--theme, -i or -R are required.
➜  ~

pywal version:

➜  ~ wal -v
wal 2.0.2
dylanaraps commented 6 years ago

I can reproduce this. Easy fix. Thanks for finding it!

dylanaraps commented 6 years ago

Fixed in https://github.com/dylanaraps/pywal/commit/98ab58f683676653e4e2f14663ac9b5be4c2ba52

melchor629 commented 6 years ago

Nice, thanks :)