mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 01:02:09 +02:00
age: fix argument ordering (#10413)
* The input file must be specified after all flags
This commit is contained in:
parent
e1eb003d86
commit
7a31c37ab1
1 changed files with 2 additions and 2 deletions
|
@ -13,11 +13,11 @@
|
|||
|
||||
- Encrypt a file with one or more public keys that are entered as literals:
|
||||
|
||||
`age --recipient {{public_key_1}} --recipient {{public_key_2}} {{path/to/unencrypted_file}} --output {{path/to/encrypted_file}}`
|
||||
`age --recipient {{public_key_1}} --recipient {{public_key_2}} --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
|
||||
|
||||
- Encrypt a file to one or more recipients with their public keys specified in a file (one per line):
|
||||
|
||||
`age --recipients-file {{path/to/recipients_file}} {{path/to/unencrypted_file}} --output {{path/to/encrypted_file}}`
|
||||
`age --recipients-file {{path/to/recipients_file}} --output {{path/to/encrypted_file}} {{path/to/unencrypted_file}}`
|
||||
|
||||
- Decrypt a file with a passphrase:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue