From 43a4fd46fd44771dfb2c221dfb3952073cfec6a4 Mon Sep 17 00:00:00 2001 From: Evan Senter Date: Tue, 23 Dec 2025 23:24:34 +0000 Subject: [PATCH] docs: Add --help flag and fix bootstrap line references MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add -h/--help flag to bootstrap.sh showing usage and available options - Update CLAUDE.md to reference correct line numbers for Bootstrap Process 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- CLAUDE.md | 2 +- bootstrap.sh | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index ebd6f5cc..58e482da 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -57,7 +57,7 @@ The `.zshrc` file sources other configuration files in this order: - `precmd` calculates elapsed time after command completes - Timer only displayed if command takes >0 seconds -**Bootstrap Process** (bootstrap.sh:76-100) +**Bootstrap Process** (bootstrap.sh:172-201) - Uses `rsync` to sync `home/` directory contents to `~` - Installs tmux plugin manager (TPM) if not present - TPM must be manually activated in tmux with `prefix + I` after first install diff --git a/bootstrap.sh b/bootstrap.sh index b07ada9a..63c1a634 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -211,6 +211,17 @@ for arg in "$@"; do case "$arg" in --force|-f) FORCE=true ;; --pull|-p) PULL=true ;; + --help|-h) + echo "Usage: ./bootstrap.sh [OPTIONS]" + echo "" + echo "Install dotfiles from home/ to ~" + echo "" + echo "Options:" + echo " -f, --force Skip confirmation prompt" + echo " -p, --pull Pull latest changes before installing" + echo " -h, --help Show this help message" + exit 0 + ;; esac done