Skip to content

Commit

Permalink
Updating help for multi doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Farah committed Jun 15, 2018
1 parent c38f19e commit 113586b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yq.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 113586b

Please sign in to comment.