Mercurial > python-cmd2
comparison cmd2.py @ 217:0a2fd4b5dad7
json not quite there
author | catherine@Elli.myhome.westell.com |
---|---|
date | Mon, 16 Mar 2009 23:31:06 -0400 |
parents | dcc5f871a5b6 |
children | 5a45cf2e7455 |
comparison
equal
deleted
inserted
replaced
216:dcc5f871a5b6 | 217:0a2fd4b5dad7 |
---|---|
692 return self._STOP_AND_EXIT | 692 return self._STOP_AND_EXIT |
693 do_exit = do_quit | 693 do_exit = do_quit |
694 do_q = do_quit | 694 do_q = do_quit |
695 | 695 |
696 def do_show(self, arg): | 696 def do_show(self, arg): |
697 'Shows value of a parameter' | 697 '''Shows value of a parameter.''' |
698 if arg.strip(): | 698 if arg.strip(): |
699 self.showParam(arg) | 699 self.showParam(arg) |
700 else: | 700 else: |
701 for param in self.settable: | 701 for param in self.settable: |
702 self.showParam(param) | 702 self.showParam(param) |