Amend/fix output for 'add2values' when function is not used correctly
This commit is contained in:
parent
707cc704ff
commit
0fdc855bdc
1 changed files with 5 additions and 3 deletions
|
@ -16,8 +16,10 @@ if argnumbers == 2 :
|
||||||
|
|
||||||
if argnumbers != 2 :
|
if argnumbers != 2 :
|
||||||
print("")
|
print("")
|
||||||
print("Usage: add X Y, where X and Y are individual values.")
|
print("You entered " + str(argnumbers) + " value/s.")
|
||||||
print(" If uncompiled, usage is 'python add2vals.py X Y'.")
|
print("")
|
||||||
print(" (You entered " + str(argnumbers) + " value/s.)")
|
print("Usage: 'add2vals X Y' where X and Y are individual values.")
|
||||||
|
print(" If add2vals is not in your path, usage is './add2vals X Y'.")
|
||||||
|
print(" If unbundled, usage is 'python add2vals.py X Y'.")
|
||||||
print("")
|
print("")
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
Loading…
Reference in a new issue