[CRIU] [PATCH 2/7] criu --help: do not use tabs

Kir Kolyshkin kir at openvz.org
Thu May 2 05:48:09 EDT 2013


Some lines were using tabs, some were not. Personally I am not in favor
of any style, but let's be consistent in either using tabs or not.

Changing tabs with spaces produced a smaller patch, so let's do this
way.

This patch should not produce any visual change in output.

Signed-off-by: Kir Kolyshkin <kir at openvz.org>
---
 crtools.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/crtools.c b/crtools.c
index c2e875c..ae960fd 100644
--- a/crtools.c
+++ b/crtools.c
@@ -373,26 +373,26 @@ usage:
 "  -s|--leave-stopped    leave tasks in stopped state after checkpoint instead of killing them\n"
 "  -R|--leave-running    leave tasks in running state after checkpoint\n"
 "  -D|--images-dir       directory where to put images to\n"
-"     --pidfile [FILE]	write a pid of a root task in this file\n"
+"     --pidfile [FILE]   write a pid of a root task in this file\n"
 "\n"
 "* Special resources support:\n"
 "  -x|--" USK_EXT_PARAM "      allow external unix connections\n"
 "     --" SK_EST_PARAM "  checkpoint/restore established TCP connections\n"
-"  -r|--root [PATH]	change the root filesystem (when run in mount namespace)\n"
-"  --evasive-devices	use any path to a device file if the original one is inaccessible\n"
-"  --veth-pair [IN=OUT]	correspondence between outside and inside names of veth devices\n"
+"  -r|--root [PATH]      change the root filesystem (when run in mount namespace)\n"
+"  --evasive-devices     use any path to a device file if the original one is inaccessible\n"
+"  --veth-pair [IN=OUT]  correspondence between outside and inside names of veth devices\n"
 "  --link-remap          allow to link unlinked files back when possible (modifies FS till restore)\n"
-"  --action-script [SCR]	add an external action script\n"
-"			The environment variable CRTOOLS_SCRIPT_ACTION contains one of the actions:\n"
-"			* network-lock - lock network in a target network namespace\n"
-"			* network-unlock - unlock network in a target network namespace\n"
+"  --action-script [SCR] add an external action script\n"
+"                        The environment variable CRTOOLS_SCRIPT_ACTION contains one of the actions:\n"
+"                        * network-lock - lock network in a target network namespace\n"
+"                        * network-unlock - unlock network in a target network namespace\n"
 "  -j|--" OPT_SHELL_JOB "        allow to dump and restore shell jobs\n"
-"  -l|--" OPT_FILE_LOCKS "	handle file locks, for safety, only used for container\n"
+"  -l|--" OPT_FILE_LOCKS "       handle file locks, for safety, only used for container\n"
 "\n"
 "* Logging:\n"
 "  -o|--log-file [NAME]  log file name (relative path is relative to --images-dir)\n"
-"     --log-pid		if the -o option is in effect, each restored processes is\n"
-"			written to the [NAME].pid file\n"
+"     --log-pid          if the -o option is in effect, each restored processes is\n"
+"                        written to the [NAME].pid file\n"
 "  -v [num]              set logging level\n"
 "                          0 - messages regardless of log level\n"
 "                          1 - errors, when we are in trouble\n"
-- 
1.8.1.4



More information about the CRIU mailing list