From 042bd869111df8eda02ddf4178d0659315c759e0 Mon Sep 17 00:00:00 2001 From: Jiri Kalvoda <jirikalvoda@kam.mff.cuni.cz> Date: Fri, 12 Feb 2021 18:35:02 +0100 Subject: [PATCH] Add some information to README. --- README | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/README b/README index 2c347ba..045cee4 100644 --- a/README +++ b/README @@ -31,8 +31,7 @@ terminates. The simplest way of sending messages to the daemon is using the `osdc' client, e.g., `osdc "Hello world!"'. Use multiple parameters to create a multi-line -message (however, the maximum number of lines is fixed and it can be changed -only by the `--lines' switch on daemon startup). +message. You can also add attributes to the message (written as command-line options): @@ -54,14 +53,21 @@ You can also add attributes to the message (written as command-line options): --to=stdout Write message to stdout instead of display. - --output=name - --output-no=name - --do-not-que - --cmd-now= --cmd-after= - disable:<s> - enable:<s> - skip:<n> - + --output=name or --to=name + --output-no=name Command to set output for actual message. + It will be executed in set order. `output` + add all device by name and `output-no` + remove all devices by name. + If nothing is set or first is `output-no` + `default` will be set as first. + + + --do-not-que Do only on-arrive work and do not add message to queue. + --cmd-now= --cmd-after= Execute osdd command from folloving list on message + arrive to daemon or after showing message. + disable:<s> Disable all outputs by name <s>. + enable:<s> Enable all outputs by name <s>. + skip Skip now showing message. The default values of most of these attributes can be given by command-line -- GitLab