Skip to content

Commit

Permalink
fix: unused
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos A Becker <caarlos0@gmail.com>
  • Loading branch information
caarlos0 committed Jan 18, 2022
1 parent a64e153 commit 5898e05
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/man.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ import (
)

type manCmd struct {
cmd *cobra.Command
output string
cmd *cobra.Command
}

func newManCmd() *manCmd {
Expand All @@ -34,7 +33,6 @@ func newManCmd() *manCmd {
},
}

cmd.PersistentFlags().StringVarP(&root.output, "output", "o", "manpages", "output directory")
root.cmd = cmd
return root
}

0 comments on commit 5898e05

Please sign in to comment.