improve usage
This commit is contained in:
parent
7e46ac07c2
commit
6b89c1bb43
2 changed files with 10 additions and 2 deletions
10
README.md
10
README.md
|
@ -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>]
|
||||||
```
|
```
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue