improve usage

This commit is contained in:
Antonio J. Delgado 2023-04-19 22:29:11 +03:00
parent 7e46ac07c2
commit 6b89c1bb43
2 changed files with 10 additions and 2 deletions

View file

@ -11,5 +11,13 @@ Tested with XFCE4 and Gnome 2. Problems with Gnome >3.
### Usage ### Usage
```bash ```bash
earth_wallpaper.sh --city <CITY> [--help] [--temperature-unit celsius|fahrenheit] [--wallpaper-file <FILE>] [--archive-folder <FOLDER>] [--screen-width <WIDTH>] [--font-name <FONT_NAME>] [--debug] [--logfile] earth_wallpaper.sh --city <CITY> \
[--help] \
[--temperature-unit celsius|fahrenheit] \
[--wallpaper-file <FILE>] \
[--archive-folder <FOLDER>] \
[--screen-width <WIDTH>] \
[--font-name <FONT_NAME>] \
[--debug] \
[--logfile <LOG_FILE>]
``` ```

View file

@ -39,7 +39,7 @@ check_font() {
usage() { usage() {
echo "Usage:" echo "Usage:"
echo "$(basename "${0}") --city <CITY> [--help] [--temperature-unit celsius|fahrenheit] [--wallpaper-file <FILE>] [--archive-folder <FOLDER>] [--screen-width <WIDTH>] [--font-name <FONT_NAME>] [--debug] [--logfile]" echo "$(basename "${0}") --city <CITY> [--help] [--temperature-unit celsius|fahrenheit] [--wallpaper-file <FILE>] [--archive-folder <FOLDER>] [--screen-width <WIDTH>] [--font-name <FONT_NAME>] [--debug] [--logfile <LOG_FILE>]"
} }
temp_unit=celsius temp_unit=celsius