Skip to content

Commit

Permalink
fix flag name
Browse files Browse the repository at this point in the history
  • Loading branch information
Piszmog committed Jan 5, 2022
1 parent c04a19d commit 85c01db
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ func main() {
Usage: "removes dead local Git branches",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "Path",
Name: "path",
Aliases: []string{"p"},
Usage: "Path to the repository or root directory containing Git repositories",
Usage: "path to the repository or root directory containing Git repositories",
Required: true,
},
&cli.StringSliceFlag{
Expand All @@ -37,7 +37,7 @@ func main() {
},
Action: func(ctx *cli.Context) error {
m := ui.NewModel(
ui.Path(ctx.String("Path")),
ui.Path(ctx.String("path")),
ui.ProtectedBranches(ctx.StringSlice("protected-branch")),
ui.Concurrency(ctx.Int("concurrency")),
ui.DryRun(ctx.Bool("dry-run")),
Expand Down

0 comments on commit 85c01db

Please sign in to comment.