Skip to content

Commit

Permalink
cmd/geth: set EnableBashCompletion = true
Browse files Browse the repository at this point in the history
  • Loading branch information
ligi committed Jan 30, 2022
1 parent 045e90c commit f01d78d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/flags/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ func FlagCategory(flag cli.Flag, flagGroups []FlagGroup) string {
// NewApp creates an app with sane defaults.
func NewApp(gitCommit, gitDate, usage string) *cli.App {
app := cli.NewApp()
app.EnableBashCompletion = true
app.Name = filepath.Base(os.Args[0])
app.Author = ""
app.Email = ""
Expand Down

0 comments on commit f01d78d

Please sign in to comment.