[0.3.0.pre] pik ls -v and pik list strings -v
I like how pik list strings -v explicitly shows the optional parts of the version strings and would like for pik ls -v to do the same. The alias command can make this moot, but I like the consistency and maybe it cleans it multiple code paths as well.
C:\Users\Jon\Documents>pik --version
pik 0.3.0.pre on Microsoft Windows [Version 6.1.7600]
by Gordon Thiesfeld ([email protected])
C:\Users\Jon\Documents>pik list strings -v [ruby-]1.8.7[-p330] version: ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-mingw32] path: C:\ruby187\bin
=> [ruby-]1.9.2-p160 version: ruby 1.9.2p160 (2011-01-16 revision 30579) [i386-mingw32] path: C:\ruby192\bin
[ruby-]1.9.3-dev version: ruby 1.9.3dev (2011-01-25 trunk 30648) [i386-mingw32] path: C:\ruby19trunk\bin
jruby-1.6.0 version: jruby 1.6.0.RC1 (ruby 1.8.7 patchlevel 330) (2011-01-10 769f847) (Java HotSpot(TM) Client VM 1.6.0_23) [Windows 7-x86-java] path: C:\jruby\bin
...while the shorter version does
C:\Users\Jon\Documents>pik ls -v
ruby-1.8.7-p330
version: ruby 1.8.7 (2010-12-23 patchlevel 330) [i386-mingw32]
path: C:\ruby187\bin
=> ruby-1.9.2-p160
version: ruby 1.9.2p160 (2011-01-16 revision 30579) [i386-mingw32]
path: C:\ruby192\bin
ruby-1.9.3-dev
version: ruby 1.9.3dev (2011-01-25 trunk 30648) [i386-mingw32]
path: C:\ruby19trunk\bin
jruby-1.6.0
version: jruby 1.6.0.RC1 (ruby 1.8.7 patchlevel 330) (2011-01-10 769f847) (Java HotSpot(TM) Client VM 1.6.0_23) [Windows 7-x86-java]
path: C:\jruby\bin