mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-04 00:05:26 +00:00
help: Print shorter help when lanuched w/o arguments
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
@@ -294,6 +294,11 @@ usage:
|
|||||||
pr_msg(" show show dump file(s) contents\n");
|
pr_msg(" show show dump file(s) contents\n");
|
||||||
pr_msg(" check checks whether the kernel support is up-to-date\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("\nDump/Restore options:\n");
|
||||||
|
|
||||||
pr_msg("\n* Generic:\n");
|
pr_msg("\n* Generic:\n");
|
||||||
|
Reference in New Issue
Block a user