diff options
| author | Hsieh Chin Fan <pham@topo.tw> | 2023-03-24 10:11:27 +0800 |
|---|---|---|
| committer | Hsieh Chin Fan <pham@topo.tw> | 2023-03-24 10:11:27 +0800 |
| commit | 2ddb86eab39298a11d6fed7c29a4752a80430898 (patch) | |
| tree | f7046a63c09628fac4504490da03edf2e6fb58d2 | |
| parent | 6dbca2cd9caa5dd19a71cf03cf13bddb31e6da75 (diff) | |
Update
| -rwxr-xr-x | bin/gpt/gpt | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/gpt/gpt b/bin/gpt/gpt index d33e382..51de0a8 100755 --- a/bin/gpt/gpt +++ b/bin/gpt/gpt | |||
| @@ -16,8 +16,6 @@ configurable_options=( behavior temperature max_tokens ) | |||
| 16 | trap _print_leave_message INT | 16 | trap _print_leave_message INT |
| 17 | 17 | ||
| 18 | _check_stacks() { | 18 | _check_stacks() { |
| 19 | # Print all available options | ||
| 20 | index=0 | ||
| 21 | for command in "${stacks[@]}"; do | 19 | for command in "${stacks[@]}"; do |
| 22 | which "$command" &>/dev/null && continue | 20 | which "$command" &>/dev/null && continue |
| 23 | echo "$command" is needed | 21 | echo "$command" is needed |