From 8ab57ed74ea67d3f023aa0fcd695cb107b676501 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 20 Apr 2024 21:07:30 +0800 Subject: refactor: update description for cli options and config fields (#423) --- scripts/completions/aichat.zsh | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'scripts/completions/aichat.zsh') diff --git a/scripts/completions/aichat.zsh b/scripts/completions/aichat.zsh index 83ad751..b14bd74 100644 --- a/scripts/completions/aichat.zsh +++ b/scripts/completions/aichat.zsh @@ -15,28 +15,28 @@ _aichat() { local context curcontext="$curcontext" state line local common=( -'-m+[Choose a LLM model]:MODEL:->models' \ -'--model=[Choose a LLM model]:MODEL:->models' \ -'-r+[Choose a role]:ROLE:->roles' \ -'--role=[Choose a role]:ROLE:->roles' \ -'-s+[Create or reuse a session]:SESSION:->sessions' \ -'--session=[Create or reuse a session]:SESSION:->sessions' \ -'*-f+[Attach files to the message]:FILE:_files' \ -'*--file=[Attach files to the message]:FILE:_files' \ -'-w+[Specify the text-wrapping mode (no, auto, )]:WRAP: ' \ -'--wrap=[Specify the text-wrapping mode (no, auto, )]:WRAP: ' \ -'--save-session[Whether to save the session]' \ -'-e[Execute commands using natural language]' \ -'--execute[Execute commands using natural language]' \ -'-c[Generate only code]' \ -'--code[Generate only code]' \ -'-H[Disable syntax highlighting]' \ -'--no-highlight[Disable syntax highlighting]' \ -'-S[No stream output]' \ -'--no-stream[No stream output]' \ +'-m+[Select a LLM model]:MODEL:->models' \ +'--model=[Select a LLM model]:MODEL:->models' \ +'-r+[Select a role]:ROLE:->roles' \ +'--role=[Select a role]:ROLE:->roles' \ +'-s+[Start or join a session]:SESSION:->sessions' \ +'--session=[Start or join a session]:SESSION:->sessions' \ +'*-f+[Include files with the message]:FILE:_files' \ +'*--file=[Include files with the message]:FILE:_files' \ +'-w+[Control text wrapping (no, auto, )]:WRAP: ' \ +'--wrap=[Control text wrapping (no, auto, )]:WRAP: ' \ +'--save-session[Forces the session to be saved]' \ +'-e[Execute commands in natural language]' \ +'--execute[Execute commands in natural language]' \ +'-c[Output code only]' \ +'--code[Output code only]' \ +'-H[Turn off syntax highlighting]' \ +'--no-highlight[Turn off syntax highlighting]' \ +'-S[Turns off stream mode]' \ +'--no-stream[Turns off stream mode]' \ '--light-theme[Use light theme]' \ -'--dry-run[Run in dry run mode]' \ -'--info[Print related information]' \ +'--dry-run[Display the message without sending it]' \ +'--info[Dispaly information]' \ '--list-models[List all available models]' \ '--list-roles[List all available roles]' \ '--list-sessions[List all available sessions]' \ -- cgit v1.2.3