Skip to content

Commit

Permalink
age: fix argument ordering (tldr-pages#10413)
Browse files Browse the repository at this point in the history
* The input file must be specified after all flags
  • Loading branch information
mackncheesiest authored Jun 24, 2023
1 parent e1eb003 commit 7a31c37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/common/age.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down

0 comments on commit 7a31c37

Please sign in to comment.