pull/90/head
Piero Toffanin 2020-12-19 12:02:36 -05:00
rodzic d28b9932e4
commit b8ea1a7ce9
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -77,6 +77,7 @@ for opt in options:
h = h.replace("\n", "")
h = h.replace('%(default)s', ('``' + options[opt].get('default', '') + '``').replace('````', '``'))
h = h.replace("Can be one of: %(choices)s", "")
h = h.replace("Can be one of: %(choices)s.", "")
h = h.replace('%(choices)s', options[opt].get('choices', ''))
options[opt]['help'] = h
else: