1
0
Fork 0
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:
mackncheesiest 2023-06-24 07:35:31 -07:00 committed by GitHub
parent e1eb003d86
commit 7a31c37ab1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: