[1/6] help: Introduce separate section for external resources

Submitted by Pavel Emelianov on Sept. 20, 2016, 1:26 p.m.

Details

Message ID 57E138E8.60202@virtuozzo.com
State Accepted
Series "Unify external resources in CLI"
Commit 015c2ead400702e21e53fcf30c77a6589f40d548
Headers show

Commit Message

Pavel Emelianov Sept. 20, 2016, 1:26 p.m.
The plan is to describe them all more carefully.

Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
---
 criu/crtools.c | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

Patch hide | download patch | download mbox

diff --git a/criu/crtools.c b/criu/crtools.c
index 25637cf..fe3c5a0 100644
--- a/criu/crtools.c
+++ b/criu/crtools.c
@@ -839,6 +839,15 @@  usage:
 "                        in lazy-pages mode: 'criu lazy-pages -D DIR'\n"
 "                        --lazy-pages and lazy-pages mode require userfaultfd\n"
 "\n"
+"* External resources support:\n"
+"  --external RES        dump objects from this list as external resources:\n"
+"                        Formats of RES on dump:\n"
+"                            tty[rdev:dev]\n"
+"                            file[mnt_id:inode]\n"
+"                            dev[maj:min]:VAL\n"
+"                        Formats of RES on restore:\n"
+"                            dev[VAL]:DEVPATH\n"
+"\n"
 "* Special resources support:\n"
 "  -x|--" USK_EXT_PARAM " [inode,...]\n"
 "                        allow external unix connections (optional arguments\n"
@@ -888,13 +897,6 @@  usage:
 "  --enable-fs FSNAMES   a comma separated list of filesystem names or \"all\"\n"
 "                        force criu to (try to) dump/restore these filesystem's\n"
 "                        mountpoints even if fs is not supported\n"
-"  --external RES        dump objects from this list as external resources:\n"
-"                        Formats of RES on dump:\n"
-"                            tty[rdev:dev]\n"
-"                            file[mnt_id:inode]\n"
-"                            dev[maj:min]:VAL\n"
-"                        Formats of RES on restore:\n"
-"                            dev[VAL]:DEVPATH\n"
 "  --inherit-fd fd[NUM]:RES\n"
 "                        Inherit file descriptors, treating fd NUM as being\n"
 "                        already opened via an existing RES, which can be:\n"