[CRIU] [PATCH 2/2] crtools: update the usage message for log level

Huang Qiang h.huangqiang at huawei.com
Thu Nov 1 22:01:55 EDT 2012


We have more than 2 levels right now, update the usage message.

Signed-off-by: Huang Qiang <h.huangqiang at huawei.com>
---
 crtools.c |   14 +++++++++-----
 1 files changed, 9 insertions(+), 5 deletions(-)

diff --git a/crtools.c b/crtools.c
index c2c0c9b..6c9c38e 100644
--- a/crtools.c
+++ b/crtools.c
@@ -323,11 +323,15 @@ usage:
 	pr_msg("     --log-pid		if the -o option is in effect, each restored processes is\n");
 	pr_msg("			written to the [NAME].pid file\n");
 	pr_msg("  -v [num]              set logging level\n");
-	pr_msg("                          0 - silent (only error messages)\n");
-	pr_msg("                          1 - informative (default)\n");
-	pr_msg("                          2 - debug\n");
-	pr_msg("  -vv            same as -v 1\n");
-	pr_msg("  -vvv           same as -v 2\n");
+	pr_msg("                          0 - messages regardless of log level\n");
+	pr_msg("                          1 - errors, when we are in trouble\n");
+	pr_msg("                          2 - warnings (default)\n");
+	pr_msg("                          3 - informative, everything is fine\n");
+	pr_msg("                          4 - debug only\n");
+	pr_msg("  -v             same as -v 1\n");
+	pr_msg("  -vv            same as -v 2\n");
+	pr_msg("  -vvv           same as -v 3\n");
+	pr_msg("  -vvvv          same as -v 4\n");
 
 	pr_msg("\nShow options:\n");
 	pr_msg("  -f|--file             show contents of a checkpoint file\n");
-- 
1.7.1




More information about the CRIU mailing list