change the RUST version to match the new parameter list
This commit is contained in:
@@ -45,15 +45,7 @@ NUMBERS = "0123456789"
|
||||
CONJUNCTIONS = ["and", "and a", "and the","or", "or the", "or a",
|
||||
"with a", "with", "with the", "by a", "by the",
|
||||
"on a", "on the","on", "in a", "in the", "in",
|
||||
"for", "for a", "for the"]
|
||||
|
||||
# delete these
|
||||
number = 1
|
||||
targetLen = 20
|
||||
|
||||
useConjunction = False
|
||||
add_punc = False
|
||||
add_number = False
|
||||
"for", "for a", "for the", "but", "so"]
|
||||
|
||||
def toInt(s, chkRange, errStr = "sorry, that's not a number", rangeStr = "sorry, I can't do that number"):
|
||||
try:
|
||||
@@ -72,7 +64,7 @@ def get_args(conf):
|
||||
while narg<nargs:
|
||||
a = sys.argv[narg]
|
||||
if a=="-h" or a=="--help" or a=="--version":
|
||||
print ("pwgen.py v1.3 generate passphrase; inspired by xkcd/936 and SteveGibson\n")
|
||||
print ("pwgen.py v1.4 generate passphrase; inspired by xkcd/936 and SteveGibson\n")
|
||||
print ("""Usage: pwgen.py [-sSpPkKnNcCaMX] [-L length] [num_phrases]
|
||||
pwgen.py -h | --help | --version
|
||||
|
||||
|
||||
Reference in New Issue
Block a user