From 78b2b94d1d6cac4c296ed268f5f1be7a903278b3 Mon Sep 17 00:00:00 2001 From: Yongqin Liu Date: Fri, 7 Jul 2017 13:26:49 +0800 Subject: [PATCH] bootstat.cpp: update help message for --record_boot_complete add description about --record_boot_complete in the help Test: manually with HiKey Change-Id: I521d6f5b9d98113c006fc6ab146b6c353ce2390c Signed-off-by: Yongqin Liu --- bootstat/bootstat.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index a4c216033..344fa9aae 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -85,12 +85,13 @@ void ShowHelp(const char *cmd) { fprintf(stderr, "Usage: %s [options]\n", cmd); fprintf(stderr, "options include:\n" - " -h, --help Show this help\n" - " -l, --log Log all metrics to logstorage\n" - " -p, --print Dump the boot event records to the console\n" - " -r, --record Record the timestamp of a named boot event\n" - " --value Optional value to associate with the boot event\n" - " --record_boot_reason Record the reason why the device booted\n" + " -h, --help Show this help\n" + " -l, --log Log all metrics to logstorage\n" + " -p, --print Dump the boot event records to the console\n" + " -r, --record Record the timestamp of a named boot event\n" + " --value Optional value to associate with the boot event\n" + " --record_boot_complete Record metrics related to the time for the device boot\n" + " --record_boot_reason Record the reason why the device booted\n" " --record_time_since_factory_reset Record the time since the device was reset\n"); }