Skip to content

Commit

Permalink
docs/sock-protocol.txt: update with examples of propagated flag names [
Browse files Browse the repository at this point in the history
…networkupstools#266]

Signed-off-by: Jim Klimov <[email protected]>
  • Loading branch information
jimklimov committed Jul 23, 2024
1 parent a20712c commit 55f016b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/sock-protocol.txt
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,14 @@ SETFLAGS

Note that this command takes a variable number of arguments, as multiple
flags are supported. Also note that they are not crammed together in
"", since "RW STRING" would mean something completely different.
"" quotes, since "RW STRING" would mean something completely different.

This also replaces any previous flags for a given variable.

Currently supported flags include `RW`, `STRING` and `NUMBER`
(detailed in the NUT Network Protocol documentation); unrecognized values
are quietly ignored.

ADDCMD
~~~~~~

Expand Down

0 comments on commit 55f016b

Please sign in to comment.