mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-17 06:04:23 +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;
|
return_ECMD_FAILED;
|
||||||
|
|
||||||
if (!_process_command_line(cmd, &argc, &argv)) {
|
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;
|
return EINVALID_CMD_LINE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user