xbps-rindex(8): fix -s short option (omitted in shortopts).
This commit is contained in:
		@@ -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' },
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user