jptgdp: Ensure that -r and -f conflict
This commit is contained in:
		
							
								
								
									
										1
									
								
								jptgdp
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								jptgdp
									
									
									
									
									
								
							| @@ -183,6 +183,7 @@ main() { | ||||
| 				;; | ||||
| 		esac | ||||
| 	done | ||||
| 	[ -n "$_optfile" ] && [ -n "$_optrofi" ] && error "Flags -f and -r conflict" 2 | ||||
| 	[ -n "$_optdownloadonly" ] && [ -n "$_optautoplay" ] && error "Flags -d and -p conflict" 2 | ||||
| 	if [ -n "$_optrofi" ]; then rofimenu; exit $?; fi | ||||
| 	if [ -n "$_optfile" ]; then playlist "$_optfile"; exit $?; fi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user