Skip to content

Commit e31a001

Browse files
committed
fix: updated agrs doc strings
1 parent 5f4ec5f commit e31a001

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/timevalue/annuity.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
description="Calculate annuity payments.", conflict_handler="resolve"
77
)
88

9-
parser.add_argument("-c", "--cash_flow", type=float, help="Cash flow", metavar="")
9+
parser.add_argument("-c", "--cash_flow", type=float, help="cash flow", metavar="")
1010

1111
group = parser.add_mutually_exclusive_group()
1212
group.add_argument(
@@ -49,10 +49,14 @@
4949

5050
reversed = parser.add_mutually_exclusive_group()
5151
reversed.add_argument(
52-
"--pv", action="store_true", help="reverse calculate the present value (bool)"
52+
"--pv",
53+
action="store_true",
54+
help="calculates the cash flow input given present value -c flag",
5355
)
5456
reversed.add_argument(
55-
"--fv", action="store_true", help="reverse calculate the future value (bool)"
57+
"--fv",
58+
action="store_true",
59+
help="calculates the cash flow input given future value as the -c flag",
5660
)
5761

5862
args = parser.parse_args()

0 commit comments

Comments
 (0)