add a "--shell" cli param.

related to GH #388, adding a method to retrieve the current
shell name -- which could be overriden from cli prama, or programatically.