summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-13 00:32:39 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2010-12-13 00:32:39 +0100
commitde35b05a1a1de72f4e002d55843309fbc6fe2bf4 (patch)
tree360cebe2ba74ff509d3809808d17f016be581ce2
parent19f36a28d501773708da02ba149e8d8dae5756aa (diff)
downloadxmobar-de35b05a1a1de72f4e002d55843309fbc6fe2bf4.tar.gz
xmobar-de35b05a1a1de72f4e002d55843309fbc6fe2bf4.tar.bz2
Eliminate the obsolete -P option
-rw-r--r--NEWS8
-rw-r--r--Plugins/Monitors/Common.hs2
-rw-r--r--README3
3 files changed, 5 insertions, 8 deletions
diff --git a/NEWS b/NEWS
index 766a7b4..434136a 100644
--- a/NEWS
+++ b/NEWS
@@ -21,11 +21,9 @@ _New features_
- Window borders: configuration options `border` and `borderColor`
allow drawing borders around xmobar's window.
- New monitor, `Uptime`, showing the system uptime.
- - New monitor argument (`-P`) to enable displaying the `%` sign in
- percentages; the sign is now never included by default.
- - New monitor argument (`-S`) to enable displaying suffixes in some
- cases: equivalent to `-P` for percentages and used by Uptime and
- Network to control units display.
+ - New monitor argument (`-S`) to enable displaying the `%` symbol in
+ percentages or other suffixes (e.g., units in Uptime and Network);
+ the symbol is now never included by default.
- New 'run once' commands, by specifying a 0 refresh rate in `Run
Com` ([issue 26]).
- MPD monitor: updated to libmpd 1.5. New fields `ppos` (playlist
diff --git a/Plugins/Monitors/Common.hs b/Plugins/Monitors/Common.hs
index bbd9097..6a59722 100644
--- a/Plugins/Monitors/Common.hs
+++ b/Plugins/Monitors/Common.hs
@@ -158,7 +158,7 @@ options =
, Option "n" ["normal"] (ReqArg NormalColor "color number" ) "Color for the normal threshold: ex \"#00FF00\""
, Option "l" ["low"] (ReqArg LowColor "color number" ) "Color for the low threshold: ex \"#0000FF\""
, Option "t" ["template"] (ReqArg Template "output template" ) "Output template."
- , Option "PS" ["suffix"] (ReqArg UseSuffix "True/False" ) "Use % to display percents or other suffixes."
+ , Option "S" ["suffix"] (ReqArg UseSuffix "True/False" ) "Use % to display percents or other suffixes."
, Option "p" ["ppad"] (ReqArg PercentPad "percent padding") "Minimum percentage width."
, Option "m" ["minwidth"] (ReqArg MinWidth "minimum width" ) "Minimum field width"
, Option "M" ["maxwidth"] (ReqArg MaxWidth "maximum width" ) "Maximum field width"
diff --git a/README b/README
index 19c16f5..e6d2d62 100644
--- a/README
+++ b/README
@@ -611,8 +611,7 @@ These are the arguments that can be used for internal commands in the
-h color number --high=color number Color for the high threshold: es "#FF0000"
-n color number --normal=color number Color for the normal threshold: es "#00FF00"
-l color number --low=color number Color for the low threshold: es "#0000FF"
- -P True/False --suffix=True/False Use % to display percents (default: False)
- -S True/False --suffix=True/False Display optional suffixes (default: False)
+ -S True/False --suffix=True/False Display optional suffixes, such as % (default: False)
-p number --ppad=number Pad percentages to given width
-m number --minwidth=number Minimum field width
-M number --maxwidth=number Maximum field width