mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
Print --help output to stdout, not stderr.
* tools/lvmcmdline.c (_usage): Use log_print, not log_error. Author: Jim Meyering <jim@meyering.net>
This commit is contained in:
parent
60c453a2e2
commit
01c2ec4be5
@ -1,5 +1,6 @@
|
||||
Version 2.02.29 -
|
||||
==================================
|
||||
All tools: print --help output to stdout, not stderr.
|
||||
After a diagnostic, suggest --help, rather than printing all --help output.
|
||||
Add %PVS extents option to lvresize, lvextend, and lvcreate.
|
||||
Moved the obsolete test subdirectory to old-tests.
|
||||
|
@ -478,7 +478,7 @@ static void _usage(const char *name)
|
||||
if (!com)
|
||||
return;
|
||||
|
||||
log_error("%s: %s\n\n%s", com->name, com->desc, com->usage);
|
||||
log_print("%s: %s\n\n%s", com->name, com->desc, com->usage);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user