xbps-fbulk: fix usage.

This commit is contained in:
Juan RP 2020-04-20 18:55:44 +02:00
parent 1f4cfc377b
commit 0b62ba8592
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

View File

@ -134,14 +134,14 @@ addItem(const char *pkgn)
static void __attribute__((noreturn)) static void __attribute__((noreturn))
usage(const char *progname) usage(const char *progname)
{ {
fprintf(stderr, "%s [OPTIONS] /path/to/void-packages [pkg pkg+N]\n" fprintf(stderr, "Usage: %s [OPTIONS] /path/to/void-packages [pkg pkg+N]\n\n"
"OPTIONS\n" "OPTIONS\n"
" -j, --jobs <N> Number of parallel builds\n" " -j, --jobs <N> Number of parallel builds\n"
" -l, --logdir <path> Path to store logs\n" " -l, --logdir <path> Path to store logs\n"
" -s, --system System rebuild mode\n" " -s, --system System rebuild mode\n"
" -V, --verbose Enable verbose mode\n" " -V, --verbose Enable verbose mode\n"
" -v, --version Show XBPS version\n" " -v, --version Show XBPS version\n"
" -h, --help Show usage\n\n", progname); " -h, --help Show usage\n", progname);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }