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

@@ -4,6 +4,19 @@ set -euo pipefail
INTERACTIVE=true
for arg in "$@"; do
case "$arg" in
--help|-h)
cat <<'EOF'
Usage: checkin-all [options]
Check git status for all repos matching *schmeeve* in ~/git/,
and interactively prompt to commit & push changes.
Options:
-n, --no-interactive Auto-commit changes with timestamp message
-h, --help Show this help message and exit
EOF
exit 0
;;
--no-interactive|-n) INTERACTIVE=false ;;
esac
done