From 7a31c37ab1b0267ece7ae854e180b2efd63093d2 Mon Sep 17 00:00:00 2001 From: mackncheesiest Date: Sat, 24 Jun 2023 07:35:31 -0700 Subject: [PATCH] age: fix argument ordering (#10413) * The input file must be specified after all flags --- pages/common/age.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/age.md b/pages/common/age.md index 148e36f84..a4ec995cc 100644 --- a/pages/common/age.md +++ b/pages/common/age.md @@ -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: