bin: print usage() in stdout.

(cherry picked from commit b090e1a0bd32cabd8fe81bd756d419ee4b170ef7)
This commit is contained in:
Juan RP
2012-09-24 10:49:45 +02:00
parent c39c1e5751
commit 7714f0f6c5
5 changed files with 5 additions and 5 deletions

View File

@ -100,7 +100,7 @@ die(const char *fmt, ...)
static void __attribute__((noreturn))
usage(void)
{
fprintf(stderr,
fprintf(stdout,
"Usage: xbps-dgraph [options] <pkgname>\n\n"
" Options\n"
" -c\t\tPath to configuration file\n"