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:
parent
0dabe7237c
commit
6471bb2c41
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user