get_usage_str

This commit is contained in:
Tomas Kopecek 2019-11-13 13:43:32 +01:00
parent 68637cbefb
commit dd4a7edcfd
2 changed files with 125 additions and 244 deletions

File diff suppressed because it is too large Load diff

View file

@ -100,6 +100,9 @@ Available categories are: %(categories)s
return _(epilog_str)
def get_usage_str(usage):
return usage + _("\n(Specify the --help global option for a list of other help options)")
def ensure_connection(session):
try:
ret = session.getAPIVersion()