xbps-checkvers: use --distdir option as it is in the original implementation.
This commit is contained in:
parent
8244f57320
commit
0c3638231c
@ -185,9 +185,9 @@ 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,--xbps-conf 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,--xbps-packages 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"
|
||||||
@ -597,7 +597,7 @@ main(int argc, char **argv)
|
|||||||
const char *prog = argv[0], *sopts = "hC:d:ir:sV", *tmpl;
|
const char *prog = argv[0], *sopts = "hC:d:ir:sV", *tmpl;
|
||||||
const struct option lopts[] = {
|
const struct option lopts[] = {
|
||||||
{ "help", no_argument, NULL, 'h' },
|
{ "help", no_argument, NULL, 'h' },
|
||||||
{ "xbps-conf", required_argument, NULL, 'C' },
|
{ "config", required_argument, NULL, 'C' },
|
||||||
{ "distdir", required_argument, NULL, 'd' },
|
{ "distdir", required_argument, NULL, 'd' },
|
||||||
{ "installed", no_argument, NULL, 'i' },
|
{ "installed", no_argument, NULL, 'i' },
|
||||||
{ "rootdir", required_argument, NULL, 'r' },
|
{ "rootdir", required_argument, NULL, 'r' },
|
||||||
|
@ -27,7 +27,7 @@ argument sets extra packages to process with the outdated ones (only processed i
|
|||||||
.Bl -tag -width -x
|
.Bl -tag -width -x
|
||||||
.It Fl C, Fl -config Ar file
|
.It Fl C, Fl -config Ar file
|
||||||
Specifies a full path to the XBPS configuration file.
|
Specifies a full path to the XBPS configuration file.
|
||||||
.It Fl d, Fl -xbps-packages Ar dir
|
.It Fl d, Fl -distdir Ar dir
|
||||||
Specifies a full path to the xbps-packages repository. By default set to
|
Specifies a full path to the xbps-packages repository. By default set to
|
||||||
.Nm ~/xbps-packages .
|
.Nm ~/xbps-packages .
|
||||||
.It Fl h, Fl -help
|
.It Fl h, Fl -help
|
||||||
@ -43,7 +43,6 @@ tree.
|
|||||||
.It Fl V, Fl -version
|
.It Fl V, Fl -version
|
||||||
Shows the XBPS version.
|
Shows the XBPS version.
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr xbps-install 8 ,
|
|
||||||
.Xr xbps-create 8 ,
|
.Xr xbps-create 8 ,
|
||||||
.Xr xbps-dgraph 8 ,
|
.Xr xbps-dgraph 8 ,
|
||||||
.Xr xbps-install 8 ,
|
.Xr xbps-install 8 ,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user