mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-27 06:12:21 +00:00
chore: quote the bracketed options in the compose launcher help (#32881)
The help examples show options like --enable-gpu[count=1] without quotes. zsh, the default shell on macOS, reads the square brackets as a file pattern and stops with "no matches found", so typing them as shown fails there. The examples now quote those options, which works the same in bash and zsh. Refs #32878
This commit is contained in:
parent
bae611e785
commit
52f51ea4f3
1 changed files with 3 additions and 3 deletions
|
|
@ -60,9 +60,9 @@ Options:
|
|||
|
||||
Examples:
|
||||
$(basename "$0") --drop
|
||||
$(basename "$0") --enable-gpu[count=1]
|
||||
$(basename "$0") --enable-gpu[count=all] --webui[port=8080]
|
||||
$(basename "$0") --enable-gpu[count=1] --enable-api[port=12345] --data[folder=./data] --build
|
||||
$(basename "$0") '--enable-gpu[count=1]'
|
||||
$(basename "$0") '--enable-gpu[count=all]' '--webui[port=8080]'
|
||||
$(basename "$0") '--enable-gpu[count=1]' '--enable-api[port=12345]' '--data[folder=./data]' --build
|
||||
EOF
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue