forked from toolshed/abra
feat: support short option handling ("-C -n" -> "-Cn")
This commit is contained in:
@ -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 {
|
||||
|
Reference in New Issue
Block a user