mirror of
				https://github.com/f-droid/fdroidserver.git
				synced 2025-11-04 14:30:30 +03:00 
			
		
		
		
	update bash completion for fdroid import
				
					
				
			This commit is contained in:
		
							parent
							
								
									1d13bbf6b6
								
							
						
					
					
						commit
						e591a73b82
					
				
					 1 changed files with 7 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -186,10 +186,14 @@ __complete_checkupdates() {
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
__complete_import() {
 | 
			
		||||
	opts="-u -s -q"
 | 
			
		||||
	lopts="--url --subdir --rev --quiet"
 | 
			
		||||
	opts="-c -h -l -q -s -u -v -W"
 | 
			
		||||
	lopts="--categories --license --quiet --rev --subdir --url"
 | 
			
		||||
	case "${prev}" in
 | 
			
		||||
		-u|--url|-s|--subdir|--rev) return 0;;
 | 
			
		||||
		-c|-l|-s|-u|--categories|--license|--quiet|--rev|--subdir|--url)
 | 
			
		||||
		return 0;;
 | 
			
		||||
		-W)
 | 
			
		||||
		COMPREPLY=( $( compgen -W "error warn ignore" -- $cur ) )
 | 
			
		||||
		return 0;;
 | 
			
		||||
	esac
 | 
			
		||||
	__complete_options
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue