updates for --help
This commit is contained in:
@@ -9,6 +9,22 @@
|
||||
#
|
||||
# Adjust SHARE and SUBPATH to match your environment.
|
||||
|
||||
for arg in "$@"; do
|
||||
case "$arg" in
|
||||
--help|-h)
|
||||
cat <<'EOF'
|
||||
Usage: sync-pictures [options]
|
||||
|
||||
Sync ~/Pictures to a NAS share and run neatcli organize on both ends.
|
||||
|
||||
Options:
|
||||
-h, --help Show this help message and exit
|
||||
EOF
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
SHARE="//mini.nas/miniShare1"
|
||||
SUBPATH="Pictures"
|
||||
MOUNTPOINT="${HOME}/mnt/miniShare1"
|
||||
|
||||
Reference in New Issue
Block a user