cmd/age,internal/stream: improve error messages

This commit is contained in:
Filippo Valsorda
2025-12-07 19:54:29 +01:00
parent f882f40aa3
commit ae74b61b59
2 changed files with 2 additions and 2 deletions

View File

@@ -181,7 +181,7 @@ func main() {
}
if armorFlag {
errorWithHint("-a/--armor can't be used with -d/--decrypt",
"note that armored files are detected automatically")
"note that armored files are detected automatically, try again without -a/--armor")
}
if passFlag {
errorWithHint("-p/--passphrase can't be used with -d/--decrypt",