xbps-rindex(8): fix -s short option (omitted in shortopts).
This commit is contained in:
parent
7bff8aa350
commit
927254c43e
2
NEWS
2
NEWS
@ -1,5 +1,7 @@
|
|||||||
xbps-0.44 (???):
|
xbps-0.44 (???):
|
||||||
|
|
||||||
|
* xbps-rindex(8): fix -s short option; was omitted in the short options list.
|
||||||
|
|
||||||
* xbps-pkgdb(8): added a new mode to set in installed packages: "repolock".
|
* xbps-pkgdb(8): added a new mode to set in installed packages: "repolock".
|
||||||
If that mode is set with `-m repo(un)lock`, a package will only be updated
|
If that mode is set with `-m repo(un)lock`, a package will only be updated
|
||||||
if there's an update in the same repository that was used for installing.
|
if there's an update in the same repository that was used for installing.
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2012-2014 Juan Romero Pardines.
|
* Copyright (c) 2012-2015 Juan Romero Pardines.
|
||||||
* All rights reserved.
|
* All rights reserved.
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -55,7 +55,7 @@ usage(bool fail)
|
|||||||
int
|
int
|
||||||
main(int argc, char **argv)
|
main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
const char *shortopts = "acdfhrVv";
|
const char *shortopts = "acdfhrsVv";
|
||||||
struct option longopts[] = {
|
struct option longopts[] = {
|
||||||
{ "add", no_argument, NULL, 'a' },
|
{ "add", no_argument, NULL, 'a' },
|
||||||
{ "clean", no_argument, NULL, 'c' },
|
{ "clean", no_argument, NULL, 'c' },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user