Path metavar

This commit is contained in:
Andrew Cassidy 2021-05-08 00:00:41 -07:00
parent 2d1cc4ede4
commit 38560702f4

View File

@ -25,7 +25,7 @@ from yaclog.changelog import Changelog
@click.group() @click.group()
@click.option('--path', envvar='YACLOG_PATH', default='CHANGELOG.md', show_default=True, @click.option('--path', envvar='YACLOG_PATH', metavar='FILE', default='CHANGELOG.md', show_default=True,
type=click.Path(dir_okay=False, writable=True, readable=True), type=click.Path(dir_okay=False, writable=True, readable=True),
help='Location of the changelog file.') help='Location of the changelog file.')
@click.version_option() @click.version_option()