Closed razvanazamfirei closed 9 months ago
rage -version
age supports -version, but rage does not. This can cause an issue if rage is used as a drop-in for age.
age
-version
rage
❯ rage -version error: unexpected argument '-v' found tip: to pass '-v' as a value, use '-- -v' Usage: rage [--encrypt] (-r RECIPIENT | -R PATH)... [-i IDENTITY] [-a] [-o OUTPUT] [INPUT] rage [--encrypt] --passphrase [-a] [-o OUTPUT] [INPUT] rage --decrypt [-i IDENTITY] [-o OUTPUT] [INPUT]```
See, e.g., https://github.com/twpayne/chezmoi/issues/3551
You can use either -v or --version with current rage. -version will not be supported.
-v
--version
Environment
What were you trying to do
rage -version
age
supports-version
, butrage
does not. This can cause an issue if rage is used as a drop-in for age.What happened