浏览代码

Improve class documentation.

oz123 12 年之前
父节点
当前提交
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: