]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
DOC: management: move "set var" to the proper place
authorWilly Tarreau <w@1wt.eu>
Fri, 30 Apr 2021 12:45:53 +0000 (14:45 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 30 Apr 2021 13:36:31 +0000 (15:36 +0200)
Commit b8bd1ee89 ("MEDIUM: cli: add a new experimental "set var" command")
added "get var" and "set var" but "set var" was misplaced in the doc,
breaking the alphabetic ordering.

doc/management.txt

index ce8f86c79f2d4e077ffa5bcc20a29bcb33b107a8..c6fc4031f4ceddf3f86a882a7d795fc3520c7d7d 100644 (file)
@@ -1785,17 +1785,6 @@ get var <name>
   'proc.' otherwise no variable will be found. This command requires levels
   "operator" or "admin".
 
-set var <name> <expression>
-  Allows to set or overwrite the process-wide variable 'name' with the result
-  of expression <expression>. Only process-wide variables may be used, so the
-  name must begin with 'proc.' otherwise no variable will be set. The
-  <expression> may only involve "internal" sample fetch keywords and converters
-  even though the most likely useful ones will be str('something') or int().
-  Note that the command line parser doesn't know about quotes, so any space in
-  the expression must be preceded by a backslash. This command requires levels
-  "operator" or "admin". This command is only supported on a CLI connection
-  running in experimental mode (see "experimental-mode on").
-
 get weight <backend>/<server>
   Report the current weight and the initial weight of server <server> in
   backend <backend> or an error if either doesn't exist. The initial weight is
@@ -2011,6 +2000,17 @@ set timeout cli <delay>
   during long debugging sessions where the user needs to constantly inspect
   some indicators without being disconnected. The delay is passed in seconds.
 
+set var <name> <expression>
+  Allows to set or overwrite the process-wide variable 'name' with the result
+  of expression <expression>. Only process-wide variables may be used, so the
+  name must begin with 'proc.' otherwise no variable will be set. The
+  <expression> may only involve "internal" sample fetch keywords and converters
+  even though the most likely useful ones will be str('something') or int().
+  Note that the command line parser doesn't know about quotes, so any space in
+  the expression must be preceded by a backslash. This command requires levels
+  "operator" or "admin". This command is only supported on a CLI connection
+  running in experimental mode (see "experimental-mode on").
+
 set weight <backend>/<server> <weight>[%]
   Change a server's weight to the value passed in argument. If the value ends
   with the '%' sign, then the new weight will be relative to the initially