t* Simple Justified Gallery
URI git clone git://git.codevoid.de/mkpicindex
DIR Log
DIR Files
DIR Refs
DIR README
---
DIR commit 9e0aec5c2104d034b7a5c56703c78434769b124f
DIR parent f0175a7ee17921abd67f45c3a2eb269cf3565160
URI Author: Stefan Hagen <sh+git[at]codevoid[dot]de>
Date: Sun, 27 Oct 2019 14:48:29 +0100
Refine help text
Diffstat:
M mkpicindex-static.sh | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
---
DIR diff --git a/mkpicindex-static.sh b/mkpicindex-static.sh
t@@ -24,16 +24,17 @@ THREADS=4
# PRINT HELP / USAGE TEXT
usage() {
printf '%s\n' \
-'Usage: mkpicindex [option] > outfile.html
- Options:
- -t "My Gallery" - Title
- -w 850 - Width
- -h 180 - Row height
- -q 83 - Thumbnail quality
- -b 6 - Thumbnail border
- -p 8 - Max convert processes
- -d - Debug mode
- -h - This help
+'Usage: mkpicindex [arguments] > file.html
+
+Arguments:
+ -t "My Gallery" Gallery title
+ -w 850 Gallery main area width
+ -h 180 Row height (thumbnail size)
+ -q 83 Thumbnail quality
+ -b 6 Thumbnail border (padding)
+ -p 8 Max. parallel conversion processes
+ -d Enable debug mode (verbose output)
+ -h Usage (this text)
'
exit 2
}