@@ -43,23 +43,23 @@ var (
43
43
)
44
44
45
45
func init () {
46
- commitCmd .PersistentFlags ().StringP ("file" , "f" , "" , "output file for commit message" )
46
+ commitCmd .PersistentFlags ().StringP ("file" , "f" , "" , "specify output file for commit message" )
47
47
commitCmd .PersistentFlags ().BoolVar (& preview , "preview" , false , "preview commit message before committing" )
48
48
commitCmd .PersistentFlags ().IntVar (& diffUnified , "diff_unified" , 3 ,
49
49
"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)" )
52
52
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" )
60
60
commitCmd .PersistentFlags ().BoolVar (& commitAmend , "amend" , false ,
61
61
"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" )
63
63
commitCmd .PersistentFlags ().BoolVar (& promptOnly , "prompt_only" , false ,
64
64
"display the prompt without sending to OpenAI" )
65
65
commitCmd .PersistentFlags ().BoolVar (& noConfirm , "no_confirm" , false ,
0 commit comments