@@ -43,23 +43,23 @@ var (
4343)
4444
4545func init () {
46- commitCmd .PersistentFlags ().StringP ("file" , "f" , "" , "output file for commit message" )
46+ commitCmd .PersistentFlags ().StringP ("file" , "f" , "" , "specify output file for commit message" )
4747 commitCmd .PersistentFlags ().BoolVar (& preview , "preview" , false , "preview commit message before committing" )
4848 commitCmd .PersistentFlags ().IntVar (& diffUnified , "diff_unified" , 3 ,
4949 "generate diffs with <n> lines of context (default: 3)" )
50- commitCmd .PersistentFlags ().StringVar (& commitModel , "model" , "gpt-4o" , "OpenAI model to use for generation" )
51- commitCmd .PersistentFlags ().StringVar (& commitLang , "lang" , "en" , "output language for the commit message (default: English)" )
50+ commitCmd .PersistentFlags ().StringVar (& commitModel , "model" , "gpt-4o" , "specify which OpenAI model to use for generation" )
51+ commitCmd .PersistentFlags ().StringVar (& commitLang , "lang" , "en" , "set output language for the commit message (default: English)" )
5252 commitCmd .PersistentFlags ().StringSliceVar (& excludeList , "exclude_list" , []string {},
53- "files to exclude from git diff" )
54- commitCmd .PersistentFlags ().StringVar (& httpsProxy , "proxy" , "" , "HTTP proxy URL" )
55- commitCmd .PersistentFlags ().StringVar (& socksProxy , "socks" , "" , "SOCKS proxy URL" )
56- commitCmd .PersistentFlags ().StringVar (& templateFile , "template_file" , "" , "template file for commit message format" )
57- commitCmd .PersistentFlags ().StringVar (& templateString , "template_string" , "" , "inline template string for commit message format" )
58- commitCmd .PersistentFlags ().StringSliceVar (& templateVars , "template_vars" , []string {}, "custom variables for templates" )
59- commitCmd .PersistentFlags ().StringVar (& templateVarsFile , "template_vars_file" , "" , "file containing template variables" )
53+ "specify files to exclude from git diff" )
54+ commitCmd .PersistentFlags ().StringVar (& httpsProxy , "proxy" , "" , "set HTTP proxy URL" )
55+ commitCmd .PersistentFlags ().StringVar (& socksProxy , "socks" , "" , "set SOCKS proxy URL" )
56+ commitCmd .PersistentFlags ().StringVar (& templateFile , "template_file" , "" , "provide template file for commit message format" )
57+ commitCmd .PersistentFlags ().StringVar (& templateString , "template_string" , "" , "provide inline template string for commit message format" )
58+ commitCmd .PersistentFlags ().StringSliceVar (& templateVars , "template_vars" , []string {}, "define custom variables for templates" )
59+ commitCmd .PersistentFlags ().StringVar (& templateVarsFile , "template_vars_file" , "" , "specify file containing template variables" )
6060 commitCmd .PersistentFlags ().BoolVar (& commitAmend , "amend" , false ,
6161 "amend the previous commit instead of creating a new one" )
62- commitCmd .PersistentFlags ().DurationVarP (& timeout , "timeout" , "t" , defaultTimeout , "API request timeout duration" )
62+ commitCmd .PersistentFlags ().DurationVarP (& timeout , "timeout" , "t" , defaultTimeout , "set API request timeout duration" )
6363 commitCmd .PersistentFlags ().BoolVar (& promptOnly , "prompt_only" , false ,
6464 "display the prompt without sending to OpenAI" )
6565 commitCmd .PersistentFlags ().BoolVar (& noConfirm , "no_confirm" , false ,
0 commit comments