Add description at help message for recovery test for clarification 12/233712/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 18 May 2020 10:38:34 +0000 (19:38 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 18 May 2020 10:38:52 +0000 (19:38 +0900)
Change-Id: I08f5c765b6586b42c8c67743c71af3cba9fad8a6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/unit_tests/recovery_test.cc

index eb5bf0907d97702edecb28910cf6180f8c3c7a32..f0db4f25522abbf3e300449f2855214c51e32e16 100644 (file)
@@ -348,11 +348,14 @@ int main(int argc,  char** argv) {
         ("mount-update",
             "recovery test for forced termination "
             "during package mount-updating")
-        ("delay", bpo::value<int>(), "fixed delay for forced termination")
+        ("delay", bpo::value<int>(), "fixed delay for forced termination\n"
+            "unit : microsecond (ex. 1000000us = 1s)")
         ("interval", bpo::value<int>(),
-            "use with repeat option. "
-            "as it repeat the interval is added to delay")
-        ("repeat", bpo::value<int>(), "option for performing tests repeatedly")
+            "use with repeat option.\n"
+            "as it repeat the interval is added to delay\n"
+            "unit : microsecond (ex. 1000000us = 1s)")
+        ("repeat", bpo::value<int>(), "option for performing tests repeatedly\n"
+            "enter -1 to test infinitely")
         ("no-backup", "Do test without backup")
         ("backup-type", bpo::value<std::string>(), "<move|copy> set test's "
             "backup type \'move\', \'copy and remove\'");