Browse files

allow for consistent version checking with previous releases of ipython

please allow at least to check for version consistently with previous versions.
Since -V is not used by anything else, please let it stay.  You could spit out
deprecation warning meanwhile to discourage its use, but it remains the only way
to check which version of ipython is actually available from the cmdline (might
be useful to scripts/mode wrappers for editors etc)
  • Loading branch information...
1 parent 66bb3e8 commit ae2a2114219d8a0701dac659efb3ae1d8bcd7d55 @yarikoptic committed Oct 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 IPython/config/
@@ -393,7 +393,7 @@ def parse_command_line(self, argv=None):
- if '--version' in argv:
+ if '--version' in argv or '-V' in argv:

0 comments on commit ae2a211

Please sign in to comment.