We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3af1b28 commit 6699473Copy full SHA for 6699473
1 file changed
lib/zsh/functions/wiggum
@@ -7,7 +7,7 @@ wiggum() {
7
custom_prompt="$2"
8
shift 2
9
;;
10
- --no-git)
+ --no-commit|--no-git)
11
no_git=1
12
shift
13
@@ -19,8 +19,15 @@ wiggum() {
19
model="$2"
20
21
22
+ -*)
23
+ echo "Error: Unknown option '$1'"
24
+ echo "Usage: wiggum [-p|--prompt <file>] [-i|--iterations <n>] [-m|--model <model>] [--no-commit]"
25
+ return 1
26
+ ;;
27
*)
- shift
28
+ echo "Error: Unexpected argument '$1'"
29
30
31
32
esac
33
done
0 commit comments