xbps-rindex(8): fix -s short option (omitted in shortopts).

This commit is contained in:
Juan RP 2015-03-03 16:10:03 +01:00
parent 7bff8aa350
commit 927254c43e
2 changed files with 4 additions and 2 deletions

2
NEWS
View File

@ -1,5 +1,7 @@
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".
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.

View File

@ -1,5 +1,5 @@
/*-
* Copyright (c) 2012-2014 Juan Romero Pardines.
* Copyright (c) 2012-2015 Juan Romero Pardines.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -55,7 +55,7 @@ usage(bool fail)
int
main(int argc, char **argv)
{
const char *shortopts = "acdfhrVv";
const char *shortopts = "acdfhrsVv";
struct option longopts[] = {
{ "add", no_argument, NULL, 'a' },
{ "clean", no_argument, NULL, 'c' },