Преглед изворни кода

Improve class documentation.

oz123 пре 11 година
родитељ
комит
2d22152ae0
1 измењених фајлова са 4 додато и 1 уклоњено
  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: