jptgdp: Ensure that -r and -f conflict
This commit is contained in:
parent
89483e23c0
commit
0b9f14d2be
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
|
||||
|
Loading…
Reference in New Issue
Block a user