[CRIU] [PATCH 03/15] criu --help: rectify --ext-unix-sk

Kir Kolyshkin kir at openvz.org
Tue Aug 30 16:58:06 PDT 2016


* add missing space between option and the argument
* mark argument as optional
* fix English
* obey 80 columns width

Was:
  -x|--ext-unix-skinode,..      allow external unix connections (optionally can be assign socket's inode that allows one-sided dump)

Now:
  -x|--ext-unix-sk [inode,...]
                        allow external unix connections (optional arguments
                        are socketpair inode(s) that allow one-sided dump)

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 criu/crtools.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/criu/crtools.c b/criu/crtools.c
index f09e130..f15242f 100644
--- a/criu/crtools.c
+++ b/criu/crtools.c
@@ -840,7 +840,9 @@ usage:
 "                        --lazy-pages and lazy-pages mode require userfaultfd\n"
 "\n"
 "* Special resources support:\n"
-"  -x|--" USK_EXT_PARAM "inode,.." "      allow external unix connections (optionally can be assign socket's inode that allows one-sided dump)\n"
+"  -x|--" USK_EXT_PARAM " [inode,...]\n"
+"                        allow external unix connections (optional arguments\n"
+"                        are socketpair inode(s) that allow one-sided dump)\n"
 "     --" SK_EST_PARAM "  checkpoint/restore established TCP connections\n"
 "     --" SK_INFLIGHT_PARAM "   this option skips in-flight TCP connections.\n"
 "                        if TCP connections are found which are not yet completely\n"
-- 
2.7.4



More information about the CRIU mailing list