[CRIU] [PATCH 1/2] criu --help: shorten --weak-symbols descr

Kir Kolyshkin kir at openvz.org
Wed Nov 30 22:43:47 PST 2016


Option --help should provide a brief information, like a list of
commands and options and their meaning, ideally no more than 1 line per
option. There is no need to describe nuances and details here, since
we have documentation (wiki and  man pages) for that.

Cc: Pavel Tikhomirov <ptikhomirov at virtuozzo.com>
Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 criu/crtools.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/criu/crtools.c b/criu/crtools.c
index 65ec947..c4ceb17 100644
--- a/criu/crtools.c
+++ b/criu/crtools.c
@@ -846,9 +846,7 @@ usage:
 "  --check-only          check if checkpointing/restoring will actually work\n"
 "                        the process will keep on running and memory pages\n"
 "                        will not be dumped\n"
-"  --weak-sysctls        silently skip restoring sysctl if it is not available,\n"
-"                        these helps to overcome problems with restore on older\n"
-"                        kernel or with some kernel configuration disabled\n"
+"  --weak-sysctls        skip restoring sysctls that are not available\n"
 "\n"
 "* External resources support:\n"
 "  --external RES        dump objects from this list as external resources:\n"
-- 
2.7.4



More information about the CRIU mailing list