mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Fix exit code when requesting help using documented -o help option.
IOW fix lvs -o help ... Command failed with status code 5.
This commit is contained in:
parent
d2031f6a16
commit
4df5235d15
@ -1,5 +1,6 @@
|
||||
Version 2.02.68 -
|
||||
===============================
|
||||
Fix exit code when requesting help using documented -o help option.
|
||||
Do not use internal DLM lock definitions in generic LVM2 clvmd code.
|
||||
Add dmeventd man page.
|
||||
Update lvresize/extend/reduce manpages with --nofsck, --resizefs options.
|
||||
|
@ -362,6 +362,8 @@ static int _report(struct cmd_context *cmd, int argc, char **argv,
|
||||
separator, aligned, buffered,
|
||||
headings, field_prefixes, quoted,
|
||||
columns_as_rows))) {
|
||||
if (!strcasecmp(options, "help") || !strcmp(options, "?"))
|
||||
return r;
|
||||
stack;
|
||||
return ECMD_FAILED;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user