pwd: Add "--physical" and "--logical" long options

These were already mentioned in the completions, and we don't
typically add short-only options.

Fixes #6787.
This commit is contained in:
Fabian Homborg
2020-03-21 16:21:15 +01:00
parent fd45877848
commit 638a66c8ff
2 changed files with 5 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ Synopsis
::
pwd
pwd [(-P | --physical)] [(-L | --logical)]
Description
@@ -18,6 +18,6 @@ Description
The following options are available:
- ``-L``, Output the logical working directory, without resolving symlinks (default behavior).
- ``-L`` or ``--logical`` Output the logical working directory, without resolving symlinks (default behavior).
- ``-P``, Output the physical working directory, with symlinks resolved.
- ``-P`` or ``--physical`` Output the physical working directory, with symlinks resolved.