From 3f913afbb9ed035bbd1df21c7c89c5525784881f Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Sat, 18 Apr 2020 08:23:38 +1000 Subject: [PATCH] Fixed cli doco --- cmd/new.go | 2 +- cmd/write.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/new.go b/cmd/new.go index 0a26da1b..7f665fda 100644 --- a/cmd/new.go +++ b/cmd/new.go @@ -28,7 +28,7 @@ Note that you can give a create script to perform more sophisticated yaml. This } cmdNew.PersistentFlags().StringVarP(&writeScript, "script", "s", "", "yaml script for creating yaml") cmdNew.PersistentFlags().StringVarP(&customTag, "tag", "t", "", "set yaml tag (e.g. !!int)") - cmdNew.PersistentFlags().StringVarP(&customStyle, "style", "", "", "formatting style of the value: singleQuoted, doubleQuoted, folded, flow, literal, tagged") + cmdNew.PersistentFlags().StringVarP(&customStyle, "style", "", "", "formatting style of the value: single, double, folded, flow, literal, tagged") return cmdNew } diff --git a/cmd/write.go b/cmd/write.go index 1b1a0cc9..3ef5949e 100644 --- a/cmd/write.go +++ b/cmd/write.go @@ -46,7 +46,7 @@ format is list of update commands (update or delete) like so: cmdWrite.PersistentFlags().StringVarP(&sourceYamlFile, "from", "f", "", "yaml file for updating yaml (as-is)") cmdWrite.PersistentFlags().StringVarP(&customTag, "tag", "t", "", "set yaml tag (e.g. !!int)") cmdWrite.PersistentFlags().StringVarP(&docIndex, "doc", "d", "0", "process document index number (0 based, * for all documents)") - cmdWrite.PersistentFlags().StringVarP(&customStyle, "style", "", "", "formatting style of the value: singleQuoted, doubleQuoted, folded, flow, literal, tagged") + cmdWrite.PersistentFlags().StringVarP(&customStyle, "style", "", "", "formatting style of the value: single, double, folded, flow, literal, tagged") return cmdWrite }