summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/chpst.8.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/chpst.8.html b/doc/chpst.8.html
index c481ce2..095822c 100644
--- a/doc/chpst.8.html
+++ b/doc/chpst.8.html
@@ -12,7 +12,7 @@
 chpst - runs a program with a changed process state 
 <h2><a name='sect1'>Synopsis</a></h2>
 <b>chpst</b> [-vVP012]
-[-u <i>user</i>] [-U <i>user</i>] [-b <i>argv0</i>] [-e <i>dir</i>] [-/ <i>root</i>] [-n <i>inc</i>] [-l|-L <i>lock</i>] [-m <i>bytes</i>] [-d <i>bytes</i>]
+[-u <i>user</i>] [-U <i>user</i>] [-b <i>argv0</i>] [-e <i>dir</i>] [-/ <i>root</i>] [-C <i>pwd</i>] [-n <i>inc</i>] [-l|-L <i>lock</i>] [-m <i>bytes</i>] [-d <i>bytes</i>]
 [-o <i>n</i>] [-p <i>n</i>] [-f <i>bytes</i>] [-c <i>bytes</i>] [-t <i>seconds</i>] <i>prog</i>
 <h2><a name='sect2'>Description</a></h2>
 <i>prog</i> consists of one or
@@ -59,6 +59,11 @@ without adding a new variable. </dd>
 <dd>chroot. Change the root directory to
 <i>root</i> before starting <i>prog</i>. </dd>
 
+<dt><b>-C <i>pwd</b> </i></dt>
+<dd>chdir. Change the working directory to
+<i>pwd</i> before starting <i>prog</i>.
+When combined with -/, the working directory is changed after the chroot. </dd>
+
 <dt><b>-n <i>inc</b> </i></dt>
 <dd>nice. Add <i>inc</i> to the <i><b>nice</b>(2)</i> value before
 starting <i>prog</i>. <i>inc</i> must be an integer, and may start with a minus or plus.