updates for --help

This commit is contained in:
2026-05-16 19:47:22 -07:00
parent 43b17b57c2
commit 17d4dc07cc
4 changed files with 72 additions and 2 deletions

View File

@@ -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"