[yum-cvs] yum shell.py,1.25,1.26
Seth Vidal
skvidal at linux.duke.edu
Wed Feb 22 20:52:51 UTC 2006
Update of /home/groups/yum/cvs/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv4671
Modified Files:
shell.py
Log Message:
fix minor bug in shell help
Index: shell.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/shell.py,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- shell.py 15 Jan 2006 23:31:16 -0000 1.25
+++ shell.py 22 Feb 2006 20:52:49 -0000 1.26
@@ -89,7 +89,8 @@
pass
def do_help(self, arg):
- msg = self.base.usage()
+ msg = ''
+
if arg in ['transaction', 'ts']:
msg = """
%s arg
@@ -114,6 +115,9 @@
If value is given it sets that value.
""" % arg
+ else:
+ self.base.usage()
+
self.base.log(0, msg)
def do_EOF(self, line):
More information about the Yum-cvs-commits
mailing list