Mercurial > python-cmd2
diff cmd2.py @ 193:e96877b59371
tweaked docs
author | catherine@Elli.myhome.westell.com |
---|---|
date | Tue, 17 Feb 2009 22:45:10 -0500 |
parents | c0d4c7ba14a9 |
children | 5bf878c5c0e8 |
line wrap: on
line diff
--- a/cmd2.py Sun Feb 15 11:03:38 2009 -0500 +++ b/cmd2.py Tue Feb 17 22:45:10 2009 -0500 @@ -182,12 +182,13 @@ break def do_cmdenvironment(self, args): + '''Summary report of interactive parameters.''' self.stdout.write(""" Commands are %(casesensitive)scase-sensitive. Commands may be terminated with: %(terminators)s Settable parameters: %(settable)s """ % - { 'casesensitive': ('not ' and self.caseInsensitive) or '', + { 'casesensitive': (self.caseInsensitive and 'not ') or '', 'terminators': str(self.terminators), 'settable': ' '.join(self.settable) })