xbps-checkvers: make usage look more like all tools

This commit is contained in:
Duncaen 2019-06-13 20:07:01 +02:00 committed by Duncan Overbruck
parent 597c0119dd
commit 5bed1a775c

View File

@ -191,19 +191,19 @@ show_usage(const char *prog)
{ {
fprintf(stderr, fprintf(stderr,
"Usage: %s [OPTIONS] [FILES...]\n\n" "Usage: %s [OPTIONS] [FILES...]\n\n"
" Options:\n" "OPTIONS:\n"
" -h,--help Show this helpful help-message for help.\n" " -h --help Show this helpful help-message for help.\n"
" -C,--config=DIRECTORY Set path to xbps.d\n" " -C --config <dir> Set path to xbps.d\n"
" -D,--distdir=DIRECTORY Set (or override) the path to void-packages\n" " -D --distdir <dir> Set (or override) the path to void-packages\n"
" (defaults to ~/void-packages).\n" " (defaults to ~/void-packages).\n"
" -d,--debug Enable debug output to stderr.\n" " -d --debug Enable debug output to stderr.\n"
" -I,--installed Check for outdated packages in rootdir, rather\n" " -I --installed Check for outdated packages in rootdir, rather\n"
" than in the XBPS repositories.\n" " than in the XBPS repositories.\n"
" -i,--ignore-conf-repos Ignore repositories defined in xbps.d.\n" " -i --ignore-conf-repos Ignore repositories defined in xbps.d.\n"
" -m,--manual Only process listed files.\n" " -m --manual Only process listed files.\n"
" -R,--repository=URL Append repository to the head of repository list.\n" " -R --repository=<url> Append repository to the head of repository list.\n"
" -r,--rootdir=DIRECTORY Set root directory (defaults to /).\n" " -r --rootdir <dir> Set root directory (defaults to /).\n"
" -s,--show-all List all packages, in the format 'pkgname repover srcver'.\n" " -s --show-all List all packages, in the format 'pkgname repover srcver'.\n"
"\n [FILES...] Extra packages to process with the outdated\n" "\n [FILES...] Extra packages to process with the outdated\n"
" ones (only processed if missing).\n\n", " ones (only processed if missing).\n\n",
prog); prog);