lib/sym/app/commands/show_examples.rb in sym-2.6.3 vs lib/sym/app/commands/show_examples.rb in sym-2.7.0
- old
+ new
@@ -41,12 +41,12 @@
)
output << example(comment: 'decrypt an encrypted file and print it to STDOUT:',
command: 'sym -ck production.key -df secrets.yml.enc')
- output << example(comment: 'edit an encrypted file in $EDITOR, use default key file, create file backup',
- command: 'sym -tbf secrets.enc',
+ output << example(comment: 'edit an encrypted file in $EDITOR, use default key file, create a backup',
+ command: 'sym -bt secrets.enc',
result: '
Private Key: ••••••••••••••••••••••••••••••••••••••••••••
Saved encrypted content to sym.enc.
Diff:
@@ -62,10 +62,10 @@
output << example(comment: 'use the new key to encrypt a file:',
command: 'sym -e -c -k staging.key -n etc/passwords.enc')
output << example(comment: 'use the new key to inline-edit the encrypted file:',
- command: 'sym -k mykey -tf sym.yml.enc')
+ command: 'sym -k mykey -t sym.yml.enc')
end
output.flatten.compact.join("\n")
end