mirror of
https://github.com/flynx/photobook.git
synced 2025-11-01 11:50:09 +00:00
updated docs...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
5782df7293
commit
b7602acb30
@ -75,7 +75,6 @@ shopt -s nullglob extglob
|
|||||||
#
|
#
|
||||||
# XXX TODO:
|
# XXX TODO:
|
||||||
# - revise printed comments...
|
# - revise printed comments...
|
||||||
# - add --help support...
|
|
||||||
# - add real arg handling...
|
# - add real arg handling...
|
||||||
# - add abbility to apply template to a specific page in spread...
|
# - add abbility to apply template to a specific page in spread...
|
||||||
# ...something like:
|
# ...something like:
|
||||||
@ -114,6 +113,8 @@ printhelp(){
|
|||||||
echo "Usage: `basename $0` [ARGUMENTS] [PATH]"
|
echo "Usage: `basename $0` [ARGUMENTS] [PATH]"
|
||||||
echo " `basename $0` [ARGUMENTS] PATH FROM [COUNT]"
|
echo " `basename $0` [ARGUMENTS] PATH FROM [COUNT]"
|
||||||
echo
|
echo
|
||||||
|
echo "Generate LaTeX layout from directory structure."
|
||||||
|
echo
|
||||||
echo "Arguments:"
|
echo "Arguments:"
|
||||||
echo " -h --help - print this help and exit."
|
echo " -h --help - print this help and exit."
|
||||||
echo " --templates=PATH"
|
echo " --templates=PATH"
|
||||||
@ -137,6 +138,14 @@ printhelp(){
|
|||||||
echo "NOTE: COUNT is relevant iff FROM is given, otherwise all available "
|
echo "NOTE: COUNT is relevant iff FROM is given, otherwise all available "
|
||||||
echo " spreads are generated."
|
echo " spreads are generated."
|
||||||
echo
|
echo
|
||||||
|
echo "Examples:"
|
||||||
|
echo " $ `basename $0` ./pages > pages.tex"
|
||||||
|
echo " - generate a layout fron the contents of ./pages"
|
||||||
|
echo
|
||||||
|
echo " $ IMAGE_HIRES_DIR=images/hi-res `basename $0` ./pages"
|
||||||
|
echo " - generate a layout fron the contents of ./pages and "
|
||||||
|
echo " replaceing local images with images in ./images/hi-res"
|
||||||
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -149,6 +158,7 @@ while true ; do
|
|||||||
printhelp
|
printhelp
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
|
|
||||||
--templates)
|
--templates)
|
||||||
TEMPLATE_PATH=$2
|
TEMPLATE_PATH=$2
|
||||||
shift
|
shift
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user