Skip to content

Commit

Permalink
fix state argument, value wasn't being read
Browse files Browse the repository at this point in the history
  • Loading branch information
dustin committed Jan 9, 2021
1 parent fb82851 commit 7a37da2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ func main() {
Usage: "Whether the block should be there or not.",
Destination: &state,
DefaultText: "true",
Value: true,
}),
&cli.StringFlag{
Name: "config",
Expand All @@ -107,7 +106,7 @@ func main() {
app := &cli.App{
Name: "blockinfile",
Usage: "insert/update/remove a block of multi-line text surrounded by customizable marker lines",
Version: "v0.1.3",
Version: "v0.1.4",
Action: func(c *cli.Context) error {
config := Config{
Backup: backup,
Expand Down

0 comments on commit 7a37da2

Please sign in to comment.