From ae37e13986b45150f69d7cfa2555cf6b22ccc3c9 Mon Sep 17 00:00:00 2001 From: Olivier Schneider Date: Sat, 3 Mar 2018 15:50:02 +0100 Subject: Add ellipsis option for Monitor's fields and total text --- readme.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'readme.md') diff --git a/readme.md b/readme.md index ae2edf1..116404c 100644 --- a/readme.md +++ b/readme.md @@ -642,6 +642,11 @@ These are the options available for all monitors below: than this value will be truncated. - Long option: `--maxwidth` - Default: 0 (no maximum width) +- `-e` _string_ Maximum width ellipsis + - Ellipsis to be added to the field when it has reached its + max width. + - Long option: `--maxwidthellipsis` + - Default: "" (no ellipsis) - `-w` _number_ Fixed field width - All fields will be set to this width, padding or truncating as needed. @@ -651,6 +656,11 @@ These are the options available for all monitors below: - Maximum total width of the text. - Long option: `--maxtwidth` - Default: 0 (no limit) +- `-E` _string_ Maximum total width ellipsis + - Ellipsis to be added to the total text when it has reached + its max width. + - Long option: `--maxtwidthellipsis` + - Default: "" (no ellipsis) - `-c` _string_ - Characters used for padding. The characters of _string_ are used cyclically. E.g., with `-P +- -w 6`, a field with value "foo" -- cgit v1.2.3