From fbbb5922da717a6fa28acf91e4ffe2c7df090fd2 Mon Sep 17 00:00:00 2001 From: patrick96 Date: Sun, 30 Jun 2019 15:31:06 +0200 Subject: [PATCH] doc: Reword -m and -M description --- contrib/zsh/_polybar | 2 +- doc/man/polybar.1.rst | 2 +- src/x11/extensions/randr.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/zsh/_polybar b/contrib/zsh/_polybar index 41c121af..94c43a48 100644 --- a/contrib/zsh/_polybar +++ b/contrib/zsh/_polybar @@ -22,7 +22,7 @@ _polybar() { "($C)"{-c,--config=}'[Path to the configuration file]:configuration file:_files' \ "($R)"{-r,--reload}'[Reload when the configuration has been modified]' \ "($D $R $M $W $S)"{-d,--dump=}'[Print parameter value in bar section and exit]:parameter name' \ - "($MM $M $D $R $W $S)"{-m,--list-monitors}'[Print list of available monitors and exit (Removes cloned monitors)]' \ + "($MM $M $D $R $W $S)"{-m,--list-monitors}'[Print list of available monitors (Excluding cloned monitors) and exit]' \ "($MM $M $D $R $W $S)"{-M,--list-all-monitors}'[Print list of all available monitors (Including cloned monitors) and exit]' \ "($W $R $D $M $S)"{-w,--print-wmname}'[Print the generated WM_NAME and exit]' \ "($S)"{-s,--stdout}'[Output data to stdout instead of drawing the X window]' \ diff --git a/doc/man/polybar.1.rst b/doc/man/polybar.1.rst index 3ccaa05f..08f052dc 100644 --- a/doc/man/polybar.1.rst +++ b/doc/man/polybar.1.rst @@ -45,7 +45,7 @@ OPTIONS Print list of available monitors and exit - If some monitors are cloned, this will remove all but one of them + If some monitors are cloned, this will exclude all but one of them .. option:: -M, --list-all-monitors Print list of available monitors and exit diff --git a/src/x11/extensions/randr.cpp b/src/x11/extensions/randr.cpp index 9127b4e5..4f49944c 100644 --- a/src/x11/extensions/randr.cpp +++ b/src/x11/extensions/randr.cpp @@ -33,7 +33,7 @@ bool randr_output::match(const position& p) const { } /** - * Checks if inner is contained withing this. + * Checks if inner is contained within `this` * * Also returns true for outputs that occupy the exact same space */