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