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

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' },