diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2022-02-27 02:52:20 +0000 |
---|---|---|
committer | Laurent Bercot <ska@appnovation.com> | 2022-02-27 02:52:20 +0000 |
commit | a80a1304ff86b8cf493265696d517aea2cf7a703 (patch) | |
tree | 8368824fc484acc7fdb68b281f56c1e6966d46b3 /doc/s6-dumpenv.html | |
parent | 35c2366d1f09bb2805e3edcdff9966f7d40d14b0 (diff) | |
download | s6-portable-utils-a80a1304ff86b8cf493265696d517aea2cf7a703.tar.xz |
Prepare for 2.2.4.0; add -N option to s6-dumpenv
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'doc/s6-dumpenv.html')
-rw-r--r-- | doc/s6-dumpenv.html | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/doc/s6-dumpenv.html b/doc/s6-dumpenv.html index 1c89ddc..6400d47 100644 --- a/doc/s6-dumpenv.html +++ b/doc/s6-dumpenv.html @@ -25,7 +25,7 @@ <h2> Interface </h2> <pre> - s6-dumpenv [ -m <em>mode</em> ] <em>dir</em> + s6-dumpenv [ -N | -n ] [ -m <em>mode</em> ] <em>dir</em> </pre> <ul> @@ -40,6 +40,12 @@ that it has, it creates a file <em>dir</em>/<em>x</em> containing <h2> Options </h2> <ul> + <li> <tt>-N</tt> : chomp. Write the environment variables with an +extra newline at the end, so the environment can be retrieved via +<tt>s6-envdir -Lf <em>dir</em></tt>. </li> + <li> <tt>-n</tt> : Write the environment variables as is; the +environment will be retrieved via <tt>s6-envdir -Lfn <em>dir</em></tt>. +This is the default. </li> <li> <tt>-m</tt> <em>mode</em> : create <em>dir</em> with mode <em>mode</em> if it doesn't exist yet. Default is 0755. </li> </ul> |