Explorar el Código

Improve class documentation.

oz123 hace 12 años
padre
commit
2d22152ae0
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      pwman/ui/cli.py

+ 4 - 1
pwman/ui/cli.py

@@ -589,9 +589,12 @@ class PwmanCliOld(cmd.Cmd, HelpUI, BaseUI):
 
 
 class BaseCommands(PwmanCliOld):
 class BaseCommands(PwmanCliOld):
     """
     """
-    inherit from the old class, override
+    Inherit from the old class, override
     all the methods related to tags, and
     all the methods related to tags, and
     newer Node format, so backward compatability is kept...
     newer Node format, so backward compatability is kept...
+    Commands defined here, can have aliases definded in Aliases.
+    You can define the aliases here too, but it makes
+    the class code really long and unclear.
     """
     """
     def do_copy(self, args):
     def do_copy(self, args):
         if self.hasxsel:
         if self.hasxsel: