Skip to content

Commit 816d2f4

Browse files
committed
Fix argument order.
Converted from getsops/sops@383e9d6 Signed-off-by: Felix Fontein <felix@fontein.de>
1 parent 91bb18d commit 816d2f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/en/docs/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,10 +1609,10 @@ You can also provide the value from a file or stdin:
16091609
``` sh
16101610
# Provide the value from a file
16111611
$ echo '{"uid1":null,"uid2":1000,"uid3":["bob"]}' > /tmp/example-value
1612-
$ sops set ~/git/svc/sops/example.yaml --value-file '["an_array"][1]' /tmp/example-value
1612+
$ sops set --value-file ~/git/svc/sops/example.yaml '["an_array"][1]' /tmp/example-value
16131613
16141614
# Provide the value from stdin
1615-
$ echo '{"uid1":null,"uid2":1000,"uid3":["bob"]}' | sops set ~/git/svc/sops/example.yaml --value-stdin '["an_array"][1]'
1615+
$ echo '{"uid1":null,"uid2":1000,"uid3":["bob"]}' | sops set --value-stdin ~/git/svc/sops/example.yaml '["an_array"][1]'
16161616
```
16171617
16181618
## Unset a sub-part in a document tree

0 commit comments

Comments
 (0)