xbps-checkvers: use --longopt=FOO in usage().

This commit is contained in:
Juan RP 2014-04-17 10:03:33 +02:00
parent 40f7b1fa2e
commit c2c149bd29

View File

@ -185,13 +185,13 @@ show_usage(const char *prog)
"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 FILENAME Set (or override) the `xbps.conf' (which may\n" " -C,--config=FILENAME Set (or override) the `xbps.conf' (which may\n"
" have automatically been detected).\n" " have automatically been detected).\n"
" -d,--distdir DIRECTORY Set (or override) the path to xbps-packages\n" " -d,--distdir=DIRECTORY Set (or override) the path to xbps-packages\n"
" (defaults to ~/xbps-packages).\n" " (defaults to ~/xbps-packages).\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"
" -r,--rootdir DIRECTORY Set root directory (defaults to /).\n" " -r,--rootdir=DIRECTORY Set root directory (defaults to /).\n"
" -s,--show-missing List any binary packages which are not built.\n" " -s,--show-missing List any binary packages which are not built.\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",