[systemd-devel] [PATCH] Add help option to bootchart man page

Nathaniel Chen nathaniel.chen at intel.com
Fri Apr 26 09:36:17 PDT 2013


Bootchart has a help option. For the sake of consistency, this patch
adds it to the man page.

Also, the TODO is updated. Bootcharts were added to the journal in
commit c4d58b0.
---
 TODO                      | 1 -
 man/systemd-bootchart.xml | 6 ++++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/TODO b/TODO
index 80a591f..5e0cfba 100644
--- a/TODO
+++ b/TODO
@@ -658,7 +658,6 @@ External:
    - plot per-process IO utilization
    - group processes based on service association (cgroups)
    - document initcall_debug
-   - put bootcharts in the journal
    - kernel cmdline "bootchart" option for simplicity?
 
 Regularly:
diff --git a/man/systemd-bootchart.xml b/man/systemd-bootchart.xml
index 1569d2c..8de4c69 100644
--- a/man/systemd-bootchart.xml
+++ b/man/systemd-bootchart.xml
@@ -146,6 +146,12 @@
                 <variablelist>
 
                         <varlistentry>
+                               <term><option>-h</option></term>
+                               <term><option>--help</option></term>
+                               <listitem><para>Prints a short help text and exits.</para></listitem>
+                        </varlistentry>
+
+                        <varlistentry>
                                 <term><option>-n</option></term>
                                 <term><option>--sample <replaceable>N</replaceable></option></term>
                                 <listitem><para>Specify the number of
-- 
1.8.2.1



More information about the systemd-devel mailing list