Skip to content

Commit 9909f9a

Browse files
author
Alan Christie
committed
invoice becomes coins
1 parent 9fded85 commit 9909f9a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/invoice.py renamed to tools/coins.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
"""Calculates an Invoice for an AS Product.
2+
"""Calculates Coin charges for an AS Product.
33
"""
44
import argparse
55
from decimal import Decimal
@@ -183,7 +183,8 @@ def _calculate_adjusted_coins(total_coins: Decimal,
183183

184184
# Parse command line arguments
185185
parser = argparse.ArgumentParser(
186-
description="Calculates a Product's Invoice (actual and predicted)"
186+
prog="coins",
187+
description="Calculates a Product's Coin Charges (actual and predicted)"
187188
)
188189
parser.add_argument('product', type=str, help='The Product UUID')
189190
args: argparse.Namespace = parser.parse_args()

0 commit comments

Comments
 (0)