minor UI fixes

This commit is contained in:
Martinez 2017-01-19 11:30:48 +01:00
parent f219f45c45
commit 2a2a26977a
2 changed files with 2 additions and 2 deletions

View file

@ -21,4 +21,4 @@ textui = aux.DeprecationForwarder(text, "over.core.textui", "over.text")
for module in [types]: for module in [types]:
if module.__file__[-2:] == "py": if module.__file__[-2:] == "py":
print("<r>unable to load C implementation<.> of <y>%s<.>, falling back to pure Python instead" %(module.__name__), print.tl.warn) print("<r>unable to load C implementation<.> of <c>%s<.>, falling back to pure Python instead" %(module.__name__), print.tl.warn)

View file

@ -516,7 +516,7 @@ class Main:
self.add_option("-help", "Display the library help and about views.", lambda: self.help(alternate_docs=docs.over_docs), in_cfg_file=False) self.add_option("-help", "Display the library help and about views.", lambda: self.help(alternate_docs=docs.over_docs), in_cfg_file=False)
self.add_option("-config", "Path to an alternate config file.", self.load_alternate_config, count=1, in_cfg_file=False) self.add_option("-config", "Path to an alternate config file.", self.load_alternate_config, count=1, in_cfg_file=False)
self.add_option("-dump", "Show a command line that exactly represents the application's state.", self.dump, in_cfg_file=False) self.add_option("-dump", "Show a command line that exactly represents the application's state.", self.dump, in_cfg_file=False)
self.add_option("-debug", "Enable extra debug messages (sets <c>over<.>.<c>app<.>.<c>Main<.>.<y>debug<.> = <M>True<.>) Currently does nothing.", self.activate_debug, in_cfg_file=False) self.add_option("-debug", "Enable extra debug messages (sets <c>over<.>.<c>app<.>.<c>Main<.>.<y>debug<.> = <M>True<.>). Currently does nothing.", self.activate_debug, in_cfg_file=False)
def help(self, alternate_docs=None): def help(self, alternate_docs=None):
""" """