コード例 #1
0
ファイル: ooniprobe.py プロジェクト: duy/ooni-probe
 def __str__(self):
     """
     Hack to get the sweet ascii art into the help output and replace the
     strings "Commands" with "Tests".
     """
     return getlogo() + '\n' + self.getSynopsis() + '\n' + \
            self.getUsage(width=None).replace("Commands:", "Tests:")
コード例 #2
0
ファイル: oonicli.py プロジェクト: ioerror/ooni-probe
 def opt_asciilulz(self):
     from ooni.utils import logo
     print logo.getlogo()
コード例 #3
0
ファイル: oonicli.py プロジェクト: Shadiesna/ooni-probe
 def opt_asciilulz(self):
     from ooni.utils import logo
     print logo.getlogo()