2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

help: Print shorter help when lanuched w/o arguments

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Pavel Emelyanov
2012-12-12 23:49:12 +03:00
parent d721e9d48c
commit d7259d863f

View File

@@ -294,6 +294,11 @@ usage:
pr_msg(" show show dump file(s) contents\n");
pr_msg(" check checks whether the kernel support is up-to-date\n");
if (argc < 2) {
pr_msg("\nTry -h|--help for more info\n");
return -1;
}
pr_msg("\nDump/Restore options:\n");
pr_msg("\n* Generic:\n");