From: Christian Heller Date: Fri, 16 Aug 2024 07:17:51 +0000 (+0200) Subject: More consistently layout default naming in help message. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/static/condition?a=commitdiff_plain;h=3e4efa323b690b35aad9474d1e2b917c333bada9;p=stable_plom More consistently layout default naming in help message. --- diff --git a/stable.py b/stable.py index d485214..813bf09 100755 --- a/stable.py +++ b/stable.py @@ -26,13 +26,13 @@ def parse_args(): parser = ArgumentParser(add_help=False) parser.add_argument('-p', '--prompt', required=True) parser.add_argument('-o', '--output', required=True) - parser.add_argument('-r', '--randomness_seed', default=1, type=int, help='default 1; if set 0, chosen randomnly') - parser.add_argument('-g', '--guidance', default=7.5, type=float, help='default 7.5') - parser.add_argument('-s', '--steps', default=15, type=int, help='default 15') + parser.add_argument('-r', '--randomness_seed', default=1, type=int, help='default: 1; if set 0, chosen randomnly') + parser.add_argument('-g', '--guidance', default=7.5, type=float, help='default: 7.5') + parser.add_argument('-s', '--steps', default=15, type=int, help='default: 15') parser.add_argument('-m', '--model', default=DEFAULT_MODEL, type=str, help=f'default: {DEFAULT_MODEL}') parser.add_argument('-h', '--height', default=512, type=int, help='default: 512') - parser.add_argument('-w', '--width', default=512, type=int, help='default=512') - parser.add_argument('-n', '--number', default=1, type=int, help='default=1') + parser.add_argument('-w', '--width', default=512, type=int, help='default: 512') + parser.add_argument('-n', '--number', default=1, type=int, help='default: 1') parser.add_argument('-H', '--help', action='help') return parser.parse_args()