criu --help: don't use argv[0], print help in one call
This patch 1. Replaces using argv[0] with criu literal. Using argv[0] is bad because it can be a relative path, and it can be not "criu" but say a symlink pointing to criu. 2. Reformats the source to print basic help test in justone call to pr_msg(), same as commit 6ea0e002 did for extended help, for same reasons: having it this way is easier to do further edits. Signed-off-by:Kir Kolyshkin <kir@openvz.org> Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment