Commit d7259d86 authored by Pavel Emelyanov's avatar Pavel Emelyanov

help: Print shorter help when lanuched w/o arguments

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent d721e9d4
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment