##// END OF EJS Templates
don't offer subcommands after a dash option
Julian Taylor -
Show More
@@ -30,6 +30,10 b' _ipython()'
30 30 [ "$cur" = "$i" ] && break
31 31 if [[ ${subcommands} == *${i}* ]]; then
32 32 mode="$i"
33 break
34 elif [[ ${i} == "--"* ]]; then
35 mode="nosubcommand"
36 break
33 37 fi
34 38 done
35 39
General Comments 0
You need to be logged in to leave comments. Login now