[yum-cvs] yum shell.py,1.13,1.14

Seth Vidal skvidal at login.linux.duke.edu
Mon Mar 28 03:28:32 UTC 2005


Update of /home/groups/yum/cvs/yum
In directory login:/tmp/cvs-serv29458

Modified Files:
	shell.py 
Log Message:

fix some typos in the repos help output


Index: shell.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/shell.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- shell.py	28 Mar 2005 03:21:14 -0000	1.13
+++ shell.py	28 Mar 2005 03:28:29 -0000	1.14
@@ -87,27 +87,27 @@
     """
         if arg in ['transaction', 'ts']:
             msg = """
-    transaction arg
+    %s arg
       list: lists the contents of the transaction
       reset: reset (zero-out) the transaction
       solve: run the dependency solver on the transaction
       run: run the transaction
-                  """
+                  """ % arg
         elif arg in ['repo', 'repository']:
             msg = """
-    repos arg [option]
+    %s arg [option]
       list: lists repositories and their status
       enable: enable repositories. option = repository id
       disable: disable repositories. option = repository id
-    """
+    """ % arg
     
         elif arg == 'config':
             msg = """
-    config arg [value]
+    %s arg [value]
       args: debuglevel, errorlevel, obsoletes, gpgcheck, assumeyes, exclude
         If no value is given it prints the current value.
         If value is given it sets that value.
-        """
+        """ % arg
         
         self.base.log(0, msg)
         
@@ -205,7 +205,7 @@
             self.do_help('config')
 
     def do_repository(self, line):
-        self.do_repos(line)
+        self.do_repo(line)
         
     def do_repo(self, line):
         (cmd, args, line) = self.parseline(line)
@@ -252,7 +252,7 @@
                     self.base.doRpmDBSetup()
         
         else:
-            self.do_help('repos')
+            self.do_help('repo')
                 
     def do_test(self, line):
         (cmd, args, line) = self.parseline(line)




More information about the Yum-cvs-commits mailing list