Docs: Document path vars more

Fixes #5741.

[ci skip]
This commit is contained in:
Fabian Homborg
2019-04-30 13:18:56 +02:00
parent 17116366dc
commit 05b2d4ee54
2 changed files with 4 additions and 1 deletions

View File

@@ -40,6 +40,9 @@ The following options control variable scope:
- ``-u`` or ``--unexport`` causes the specified shell variable to NOT be exported to child processes
- ``--path`` causes the specified variable to be treated as a path variable, meaning it will automatically be split on colons, and joined using colons when quoted (`echo "$PATH"`) or exported.
- ``--unpath`` causes the specified variable to not be treated as a path variable. Variables with a name ending in "PATH" are automatically path variables, so this can be used to treat such a variable normally.
The following options are available: