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,
|
||||
&AutoCompleteCommand,
|
||||
},
|
||||
EnableShellCompletion: true,
|
||||
ShellComplete: autocomplete.SubcommandComplete,
|
||||
EnableShellCompletion: true,
|
||||
UseShortOptionHandling: true,
|
||||
ShellComplete: autocomplete.SubcommandComplete,
|
||||
}
|
||||
|
||||
app.Before = func(ctx context.Context, cmd *cli.Command) error {
|
||||
|
Loading…
x
Reference in New Issue
Block a user