Skip to content

Commit 9e7c759

Browse files
authored
Merge pull request #1940 from felixfontein/readme
README: fix argument order
2 parents fe642b3 + 383e9d6 commit 9e7c759

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1567,10 +1567,10 @@ You can also provide the value from a file or stdin:
15671567
15681568
# Provide the value from a file
15691569
$ echo '{"uid1":null,"uid2":1000,"uid3":["bob"]}' > /tmp/example-value
1570-
$ sops set ~/git/svc/sops/example.yaml --value-file '["an_array"][1]' /tmp/example-value
1570+
$ sops set --value-file ~/git/svc/sops/example.yaml '["an_array"][1]' /tmp/example-value
15711571
15721572
# Provide the value from stdin
1573-
$ echo '{"uid1":null,"uid2":1000,"uid3":["bob"]}' | sops set ~/git/svc/sops/example.yaml --value-stdin '["an_array"][1]'
1573+
$ echo '{"uid1":null,"uid2":1000,"uid3":["bob"]}' | sops set --value-stdin ~/git/svc/sops/example.yaml '["an_array"][1]'
15741574
15751575
Unset a sub-part in a document tree
15761576
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)