Update help

This commit is contained in:
Björn Busse 2021-02-20 01:24:11 +01:00
parent eb9099ce4c
commit 761e2a3801
2 changed files with 16 additions and 16 deletions

View File

@ -18,15 +18,15 @@ Use ```xkcdlock -h``` to show the command help
``` ```
$ xkcdlock -h $ xkcdlock -h
xkcdlock 21 xkcdlock 23
Available options are: Available options are:
-d download images to current working directory -d Download images to current working directory
-h show this help -h Show this help
-i show specific image file - overrides '-m' -i Show specific image file - overrides '-m'
-l lock program: one of i3lock/swaylock -l Lock program: one of i3lock/swaylock
-m latest|random default: random -m Mode: latest | random default: random
-v be verbose -v Be verbose
-V show version -V Show version
``` ```

View File

@ -46,7 +46,7 @@ BG_COLOUR="white"
TOOLTIP_MAX_LINE_LEN=100 TOOLTIP_MAX_LINE_LEN=100
# git rev-list --count HEAD # git rev-list --count HEAD
VERSION=22 VERSION=23
# Reduce image size by x pixels in x and y dimension # Reduce image size by x pixels in x and y dimension
# so that the tooltip does not overlay image # so that the tooltip does not overlay image
@ -85,13 +85,13 @@ get_script_path() {
show_help() { show_help() {
printf "\n xkcdlock ${VERSION}\n\n\ printf "\n xkcdlock ${VERSION}\n\n\
Available options are:\n\n \ Available options are:\n\n \
-d download images to current working directory\n \ -d Download images to current working directory\n \
-h show this help\n \ -h Show this help\n \
-i show specific image file - overrides '-m'\n \ -i Show specific image file - overrides '-m'\n \
-l lock program: one of i3lock/swaylock\n \ -l Lock program: one of i3lock/swaylock\n \
-m latest|random default: random\n \ -m Mode: latest | random default: random\n \
-v be verbose\n \ -v Be verbose\n \
-V show version\n\n" -V Show version\n\n"
} }
show_version() { show_version() {