Give version numbers without a 'v'.
This commit is contained in:
parent
ea4cc7ebe7
commit
2f3578c989
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ def cli(args=None, output_file=sys.stdout):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if args.version:
|
if args.version:
|
||||||
print(f"pricehist v{__version__}", file=output_file)
|
print(f"pricehist {__version__}", file=output_file)
|
||||||
elif args.command == "sources":
|
elif args.command == "sources":
|
||||||
result = sources.formatted()
|
result = sources.formatted()
|
||||||
print(result, file=output_file)
|
print(result, file=output_file)
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
-- Created by pricehist v{version} at {timestamp}
|
-- Created by pricehist {version} at {timestamp}
|
||||||
|
|
||||||
BEGIN;
|
BEGIN;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue