Compare commits
2 Commits
release/0.
...
release/0.
Author | SHA1 | Date | |
---|---|---|---|
a7f470c837 | |||
76d63eb707 |
@ -1,5 +1,5 @@
|
|||||||
from .api import Config
|
from .api import Config
|
||||||
|
|
||||||
__version__ = "0.1"
|
__version__ = "0.2"
|
||||||
__all__ = ('Config',)
|
__all__ = ('Config',)
|
||||||
|
|
||||||
|
@ -75,6 +75,12 @@ class TiramisuOptionOption:
|
|||||||
self.schema = schema
|
self.schema = schema
|
||||||
|
|
||||||
def doc(self):
|
def doc(self):
|
||||||
|
description = self.description()
|
||||||
|
if not description:
|
||||||
|
return self.name()
|
||||||
|
return description
|
||||||
|
|
||||||
|
def description(self):
|
||||||
if self.issymlinkoption():
|
if self.issymlinkoption():
|
||||||
schema = self.config.get_schema(self.schema['opt_path'])
|
schema = self.config.get_schema(self.schema['opt_path'])
|
||||||
else:
|
else:
|
||||||
|
Reference in New Issue
Block a user