1
0
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:
Jim Meyering 2007-09-21 18:06:56 +00:00
parent 60c453a2e2
commit 01c2ec4be5
2 changed files with 2 additions and 1 deletions

View File

@ -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.

View File

@ -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);
}
/*