Skip to content
Snippets Groups Projects
Commit 6c00b14f authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

update doc

parent 63fdaa2a
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@
<h2> Interface </h2>
<pre>
66-enable [ -h ] [ -v <em>verbosity</em> ] [ -l <em>live</em> ] [ -t <em>tree</em> ] [ -f ] [ -S ] <em>service(s)</em>
66-enable [ -h ] [ -v <em>verbosity</em> ] [ -l <em>live</em> ] [ -t <em>tree</em> ] [ -f ] [ -F ] [ -o ] [ -S ] <em>service(s)</em>
</pre>
<p>
......@@ -62,7 +62,12 @@
<li>
<tt>-f&nbsp;</tt>&nbsp;: reenables an already enabled <em>service</em> with the given options. This option will run again the process from the start and overwrite all existing files.
</li>
<li>
<tt>-F&nbsp;</tt>&nbsp;: same as <tt>-f</tt> but also reenables it dependencies.
</li>
<li>
<tt>-o&nbsp;</tt>&nbsp;: overwrite it environment configuration file.
</li>
<li>
<tt>-S&nbsp;</tt>&nbsp;: starts the <em>service</em> on the fly directly after enabling it. If the state of the <em>service</em> is already up, this option
will have no effect unless the <tt>-f</tt> option is used to reload it.
......
......@@ -25,7 +25,7 @@
<h2>Interface</h2>
<pre>
66-env [ -h ] [ -v <em>verbosity</em> ] [ -t <em>tree</em> ] [ -d <em>dir</em> ] [ -L ] [ -r <em>key=value</em> ] <em>service</em>
66-env [ -h ] [ -v <em>verbosity</em> ] [ -t <em>tree</em> ] [ -d <em>dir</em> ] [ -L ] [ -e ] [ -r <em>key=value</em> ] <em>service</em>
</pre>
<ul>
......@@ -71,6 +71,12 @@
<li>
<tt><b>-L</b></tt> : list defined environment variables for <em>service</em>.
</li>
<li>
<tt><b>-L</b></tt> : list defined environment variables for <em>service</em>.
</li>
<li>
<tt><b>-e</b></tt> : edit the configuration file with EDITOR set in your system environment.
</li>
<li>
<tt><b>-r&nbsp;<em>key=value</em></b></tt> : override an existing <em>key=value</em> pair with the given one. The <em>key=value</em> needs to be double-quoted or single quoted in case of multiple arguments. In case of double quote backslash '\' should be used to properly parse a double-quoted element.
</li>
......
......@@ -6,7 +6,7 @@
# SYNOPSIS
66-enable [ *-h* ] [ *-v* _verbosity_ ] [ *-l* _live_ ] [ *-t* _tree_ ] [ *-f* ] [ *-S* ] _service_...
66-enable [ *-h* ] [ *-v* _verbosity_ ] [ *-l* _live_ ] [ *-t* _tree_ ] [ *-f* ] [ *-F* ] [ *-o* ] [ *-S* ] _service_...
# DESCRIPTION
......@@ -52,6 +52,12 @@ Multiple _services_ can be enabled by seperating their names with a space.
Reenables an already enabled _service_ with the given options. This option
will run again the process from the start and overwrite all existing files.
*-F*
Same as *-f* but also reenables it dependencies.
*-o*
Overwrite it environment configuration file.
*-S*
Starts the _service_ on the fly directly after enabling it. If the state of
the _service_ is already up, this option will have no effect unless the
......
......@@ -36,6 +36,9 @@ It display the contain of the file or replace a _key=value_ pair if requested.
*-L*
Lists the environment variable of _service_.
*-e*
Edit the configuration file with EDITOR set in your system environment.
*-r* _key=value_
Override an existing _key=value_ pair with the given one. The
......
......@@ -121,7 +121,7 @@ char const *help_svctl =
" -K: kill the service(s) and keep it down\n"
;
char const *usage_env = "66-env [ -h ] [ -v verbosity ] [ -t tree ] [ -d dir ] [ -L ] [ -r key=value ] service" ;
char const *usage_env = "66-env [ -h ] [ -v verbosity ] [ -t tree ] [ -d dir ] [ -L ] [ -e ] [ -r key=value ] service" ;
char const *help_env =
"66-env <options> service\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment