Red Hat Bugzilla – Bug 500797
``file'' is not an optional argument in `ecryptfs-rewrap-passphrase command', but ``-'' is
Last modified: 2013-03-07 21:06:05 EST
Description of problem:
printf "%s\n%s" "old wrapping passphrase" "new wrapping passphrase" | ecryptfs-rewrap-
passphrase [file] -
The description is wrong, because the ``file'' is necessary to be present in the command line, otherwise:
May 14 05:01:55 hp-ml370g4-01 ecryptfs-insert-wrapped-passphrase-into-keyring: Error attempting to open [-] for reading
Version-Release number of selected component (if applicable):
Remove '[' and ']' around ``file'', add them to ``-''.
It's probably the same for all ecryptfs-*wrap* man pages.
I don't know about any standard reflecting  usable only for optional arguments and without this I can hardly convince upstream that this change is worthwhile.
note: there are other man pages using  for non-optional arguments (for example man tee).
Nor do I. Closing, since we don't have an authoritative source.