1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

commands: improve error message for unknown command

when running "lvm foo".
This commit is contained in:
David Teigland 2017-03-23 03:35:06 -05:00
parent 0dabe7237c
commit 6471bb2c41

View File

@ -2674,7 +2674,7 @@ int lvm_run_command(struct cmd_context *cmd, int argc, char **argv)
return_ECMD_FAILED;
if (!_process_command_line(cmd, &argc, &argv)) {
log_error("Error during parsing of command line.");
log_error("Command name not found.");
return EINVALID_CMD_LINE;
}