forked from toolshed/abra
feat: support short option handling ("-C -n" -> "-Cn")
This commit is contained in:
parent
ef547aed25
commit
878247e46d
@ -165,8 +165,9 @@ func newAbraApp(version, commit string) *cli.Command {
|
|||||||
&UpgradeCommand,
|
&UpgradeCommand,
|
||||||
&AutoCompleteCommand,
|
&AutoCompleteCommand,
|
||||||
},
|
},
|
||||||
EnableShellCompletion: true,
|
EnableShellCompletion: true,
|
||||||
ShellComplete: autocomplete.SubcommandComplete,
|
UseShortOptionHandling: true,
|
||||||
|
ShellComplete: autocomplete.SubcommandComplete,
|
||||||
}
|
}
|
||||||
|
|
||||||
app.Before = func(ctx context.Context, cmd *cli.Command) error {
|
app.Before = func(ctx context.Context, cmd *cli.Command) error {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user