[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] adding a missing bracket to the manual
From: |
Benno Schulenberg |
Subject: |
[patch] adding a missing bracket to the manual |
Date: |
Mon, 19 Oct 2015 13:55:06 +0200 |
In the Info document of bash-4.4-beta it says:
cd [-L|[-P [-e]] [-@] [DIRECTORY]
which is missing a closing bracket somewhere.
On the man page and in 'help cd' it says:
cd [-L|[-P [-e]] [-@]] [dir]
At first glance this seems to say that -@ can only be used
when also -L is used. On closer reading this is of course
not so, but the brackets being so wide apart makes this
somewhat hard to parse.
So I would suggest the following instead:
cd [-L]|[-P [-e]] [-@] [dir]
Of course it is somewhat silly to have "optional | optional",
but this way it is much clearer to me that -@ is independent
and also a bit clearer that -e only goes with -P.
Attached patch makes the proposed change.
(I may have patched a wrong file, though -- it's unclear to me
why generated files are in the git repo.)
Benno
--
http://www.fastmail.com - The way an email service should be
0001-cd-add-a-missing-bracket-to-the-synopsis-in-the-Info.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch] adding a missing bracket to the manual,
Benno Schulenberg <=