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

@@ -1,6 +1,22 @@
#!/bin/bash
set -euo pipefail
for arg in "$@"; do
case "$arg" in
--help|-h)
cat <<'EOF'
Usage: pull-all [options]
Pull latest changes for all repos matching *schmeeve* in ~/git/.
Options:
-h, --help Show this help message and exit
EOF
exit 0
;;
esac
done
GIT_HOME="${HOME}/git"
for dir in "${GIT_HOME}"/*/ "${HOME}/Dotfiles"; do