Use --remove consistently

This commit is contained in:
Bastien Dejean 2013-09-17 17:55:37 +02:00
parent 1f59ceea92
commit 9a0f6ba8eb
3 changed files with 4 additions and 4 deletions

View file

@ -805,7 +805,7 @@ rule \fIOPTIONS\fR
Create a new rule (<pattern> must match the class or instance name)\&.
.RE
.PP
\fB\-r\fR, \fB\-\-rm\fR <rule_uid>\&...
\fB\-r\fR, \fB\-\-remove\fR <rule_uid>\&...
.RS 4
Remove the rules with the given UIDs\&.
.RE

View file

@ -492,7 +492,7 @@ Options
*-a*, *--add* <pattern> [-d 'DESKTOP_SEL' [--follow]] [--floating] [--focus] [--unmanage] [--one-shot]::
Create a new rule (<pattern> must match the class or instance name).
*-r*, *--rm* <rule_uid>...::
*-r*, *--remove* <rule_uid>...::
Remove the rules with the given UIDs.
*-l*, *--list* [<pattern>]::

View file

@ -282,7 +282,7 @@ bool cmd_desktop(char **args, int num)
strncpy(trg.desktop->name, *args, sizeof(trg.desktop->name));
ewmh_update_desktop_names();
put_status();
} else if (streq("-r", *args) || streq("--rm", *args)) {
} else if (streq("-r", *args) || streq("--remove", *args)) {
if (trg.desktop->root == NULL
&& trg.monitor->desk_head != trg.monitor->desk_tail) {
remove_desktop(trg.monitor, trg.desktop);
@ -511,7 +511,7 @@ bool cmd_rule(char **args, int num, char *rsp) {
num--, args++;
}
add_rule(rule);
} else if (streq("-r", *args) || streq("--rm", *args)) {
} else if (streq("-r", *args) || streq("--remove", *args)) {
num--, args++;
if (num < 1)
return false;