You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: internal/options/options.go
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,7 @@ import (
9
9
typeOptionsstruct {
10
10
DryRunbool
11
11
NoTTYbool
12
+
Templatestring
12
13
GitOptions*git.Options
13
14
}
14
15
@@ -23,6 +24,7 @@ func (o *Options) AddFlags(f *pflag.FlagSet) {
23
24
o.GitOptions.AddFlags(f)
24
25
25
26
f.BoolVar(&o.DryRun, "dry-run", o.DryRun, "you can use the --dry-run flag to preview the message that would be committed, without really submitting it.")
27
+
f.StringVarP(&o.Template, "template", "t", o.Template, "template name to use when multiple templates exist.")
26
28
f.BoolVar(&o.NoTTY, "no-tty", o.NoTTY, "make sure that the TTY (terminal) is never used for any output.")
0 commit comments