diff --git a/bin/worktree.sh b/bin/worktree.sh index 8950d8a..9941e1e 100755 --- a/bin/worktree.sh +++ b/bin/worktree.sh @@ -58,7 +58,7 @@ while [[ "$#" -gt 0 ]]; do shift done ;; - "--cwd"|"--dir") + "--cwd"|"-c") CWD="$2" cd "$2" shift 2