Allow method to pass execgraph arguments containing spaces.
[monky] / doc / variables.xml
index 2c6dc6e..158167d 100644 (file)
@@ -7,8 +7,8 @@
             <option>(adapter)</option>
         </term>
         <listitem>ACPI ac adapter state. On linux, the adapter option specifies the
-        subfolder of /sys/class/power_supply containing the state information (defaults
-        to "AC"). Other systems ignore it.
+        subfolder of /sys/class/power_supply containing the state information (tries "AC"
+        and "ADP1" if there is no argument given). Non-linux systems ignore it.
         <para /></listitem>
     </varlistentry>
     <varlistentry>
         use a temperature gradient, which makes the gradient values
         change depending on the amplitude of a particular graph
         value (try it and see). If -t or -l is your first argument,
-        you may need to preceed it by a space (' '). 
+               you may need to preceed it by a space (' ').  You may also use
+               double-quotes around the exec argument should you need to execute a
+               command with spaces.  For example, ${execgraph "date +'%S'"} to execute
+               `date +'%S'` and graph the result.  Without quotes, it would simply
+               print the result of `date`.
         <para /></listitem>
     </varlistentry>
     <varlistentry>
         <listitem>Hostname 
         <para /></listitem>
     </varlistentry>
+     <varlistentry>
+        <term>
+            <command>
+                <option>nodename_short</option>
+            </command>
+        </term>
+        <listitem>Short hostname (same as 'hostname -s' shell command).
+        <para /></listitem>
+    </varlistentry>
     <varlistentry>
         <term>
             <command>