diff --git a/yaml.go b/yaml.go index 3e4de1b9..6c6004d0 100644 --- a/yaml.go +++ b/yaml.go @@ -66,7 +66,8 @@ func writeProperty(c *cli.Context) { } var forceString bool - if len(c.Args()) == 4 { + var argumentLength = len(c.Args()) + if argumentLength >= 4 && c.Args()[argumentLength-1] == "forceString" { forceString = true }