Give version numbers without a 'v'.

This commit is contained in:
Chris Berkhout 2021-06-04 21:57:13 +02:00
parent ea4cc7ebe7
commit 2f3578c989
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ def cli(args=None, output_file=sys.stdout):
try:
if args.version:
print(f"pricehist v{__version__}", file=output_file)
print(f"pricehist {__version__}", file=output_file)
elif args.command == "sources":
result = sources.formatted()
print(result, file=output_file)

View file

@ -1,4 +1,4 @@
-- Created by pricehist v{version} at {timestamp}
-- Created by pricehist {version} at {timestamp}
BEGIN;