From 113586b5e065bb336990ecc00140b0014a707559 Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Fri, 15 Jun 2018 20:31:29 +1000 Subject: [PATCH] Updating help for multi doc --- yq.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yq.go b/yq.go index e12b6e6..8ee346a 100644 --- a/yq.go +++ b/yq.go @@ -140,7 +140,7 @@ func createDeleteCmd() *cobra.Command { var cmdDelete = &cobra.Command{ Use: "delete [yaml_file] [path]", Aliases: []string{"d"}, - Short: "yq d [--inplace/-i] sample.yaml a.b.c", + Short: "yq d [--inplace/-i] [--doc/-d document_index] sample.yaml a.b.c", Example: ` yq delete things.yaml a.b.c yq delete --inplace things.yaml a.b.c @@ -183,7 +183,7 @@ func createMergeCmd() *cobra.Command { var cmdMerge = &cobra.Command{ Use: "merge [initial_yaml_file] [additional_yaml_file]...", Aliases: []string{"m"}, - Short: "yq m [--inplace/-i] [--overwrite/-x] sample.yaml sample2.yaml", + Short: "yq m [--inplace/-i] [--doc/-d document_index] [--overwrite/-x] sample.yaml sample2.yaml", Example: ` yq merge things.yaml other.yaml yq merge --inplace things.yaml other.yaml