diff --git a/jptgdp b/jptgdp index 74d9f14..f07155b 100755 --- a/jptgdp +++ b/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