diff options
author | Tudor Roman | 2017-02-15 21:25:12 +0200 |
---|---|---|
committer | Tudor Roman | 2017-02-15 21:25:12 +0200 |
commit | 88cc3aee51952e90b271f68a05e03c4371d0db70 (patch) | |
tree | f15cb66d254ac446682af642b9f01363c8d92ea8 | |
parent | 58bca360f6b30f4f064465603c34cd3ad6b426ee (diff) | |
download | ruler-88cc3aee51952e90b271f68a05e03c4371d0db70.tar.gz ruler-88cc3aee51952e90b271f68a05e03c4371d0db70.zip |
fix little bits from the manual page
-rw-r--r-- | man/ruler.1 | 7 | ||||
-rw-r--r-- | man/ruler.1.html | 10 | ||||
-rw-r--r-- | man/ruler.1.md | 9 | ||||
-rw-r--r-- | ruler.c | 2 |
4 files changed, 21 insertions, 7 deletions
diff --git a/man/ruler.1 b/man/ruler.1 index a3adf7b..8cb482b 100644 --- a/man/ruler.1 +++ b/man/ruler.1 @@ -7,7 +7,7 @@ \fBruler\fR \- A window rule daemon . .SH "SYNOPSIS" -\fBruler\fR [\-hiop] [\-s \fIshell\fR] \fIfilename\fR [\fIfilename\fR\.\.\.] +\fBruler\fR [\-himopv] [\-s \fIshell\fR] \fIfilename\fR [\fIfilename\fR\.\.\.] . .SH "DESCRIPTION" \fBruler\fR is an X daemon that executes arbitrary commands for windows with specific windows, called \fIrules\fR\. @@ -16,7 +16,7 @@ . .TP \fB\-h\fR -Print usage and version information\. +Print usage\. . .TP \fB\-i\fR @@ -147,6 +147,9 @@ name="\.*" . .fi . +.SH "ENVIRONMENT" +\fBruler\fR acts on the X display specified by the \fBDISPLAY\fR variable and executes commands through the shell specified by \fBSHELL\fR\. +. .SH "AUTHOR" Tudor Roman \fB<tudurom at gmail dot com>\fR . diff --git a/man/ruler.1.html b/man/ruler.1.html index 3076bbd..5713722 100644 --- a/man/ruler.1.html +++ b/man/ruler.1.html @@ -60,6 +60,7 @@ <a href="#BEHAVIOR">BEHAVIOR</a> <a href="#CONFIGURATION">CONFIGURATION</a> <a href="#EXAMPLE">EXAMPLE</a> + <a href="#ENVIRONMENT">ENVIRONMENT</a> <a href="#AUTHOR">AUTHOR</a> <a href="#SEE-ALSO">SEE ALSO</a> </div> @@ -77,7 +78,7 @@ <h2 id="SYNOPSIS">SYNOPSIS</h2> -<p><code>ruler</code> [-hiop] [-s <var>shell</var>] <var>filename</var> [<var>filename</var>...]</p> +<p><code>ruler</code> [-himopv] [-s <var>shell</var>] <var>filename</var> [<var>filename</var>...]</p> <h2 id="DESCRIPTION">DESCRIPTION</h2> @@ -87,7 +88,7 @@ specific windows, called <em>rules</em>.</p> <h2 id="OPTIONS">OPTIONS</h2> <dl> -<dt class="flush"><code>-h</code></dt><dd><p> Print usage and version information.</p></dd> +<dt class="flush"><code>-h</code></dt><dd><p> Print usage.</p></dd> <dt class="flush"><code>-i</code></dt><dd><p> Ignore case in rule descriptors.</p></dd> <dt class="flush"><code>-m</code></dt><dd><p> Apply rules when windows are mapped.</p></dd> <dt class="flush"><code>-o</code></dt><dd><p> Apply rules on windows with <em>override_redirect</em> set, like panels and docks.</p></dd> @@ -185,6 +186,11 @@ name=".*" echo "How are you?" </code></pre> +<h2 id="ENVIRONMENT">ENVIRONMENT</h2> + +<p><code>ruler</code> acts on the X display specified by the <code>DISPLAY</code> variable and executes +commands through the shell specified by <code>SHELL</code>.</p> + <h2 id="AUTHOR">AUTHOR</h2> <p>Tudor Roman <code><tudurom at gmail dot com></code></p> diff --git a/man/ruler.1.md b/man/ruler.1.md index 10e14f7..77ad121 100644 --- a/man/ruler.1.md +++ b/man/ruler.1.md @@ -3,7 +3,7 @@ ruler(1) -- A window rule daemon ## SYNOPSIS -`ruler` [-hiop] [-s <shell>] <filename> [<filename>...] +`ruler` [-himopv] [-s <shell>] <filename> [<filename>...] ## DESCRIPTION @@ -13,7 +13,7 @@ specific windows, called *rules*. ## OPTIONS * `-h`: - Print usage and version information. + Print usage. * `-i`: Ignore case in rule descriptors. @@ -123,6 +123,11 @@ name=".*" echo "How are you?" ``` +## ENVIRONMENT + +`ruler` acts on the X display specified by the `DISPLAY` variable and executes +commands through the shell specified by `SHELL`. + ## AUTHOR Tudor Roman `<tudurom at gmail dot com>` @@ -45,7 +45,7 @@ xcb_atom_t allowed_atoms[NR_ATOMS]; void print_usage(const char *program_name, int exit_value) { - fprintf(stderr, "Usage: %s [-hiops] filename [filename...]\n", program_name); + fprintf(stderr, "Usage: %s [-himopv] [-s shell] filename [filename...]\n", program_name); exit(exit_value); } |