Skip to content

Commit 6b0f064

Browse files
authored
Update help message
1 parent 68b1c59 commit 6b0f064

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dec_ByRDiE.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
from DecLearning import DecLearning
1818

1919
parser = argparse.ArgumentParser()
20-
parser.add_argument("monte_trial", help="Specify which monte carlo trial to run", type=int)
21-
parser.add_argument("-b","--byzantine", help="Number of Byzantine nodes to defend against, if none defaults to 0", type=int)
20+
parser.add_argument("monte_trial", help="A number between 0 and 9 to indicate which Monte Carlo trial to run", type=int)
21+
parser.add_argument("-b","--byzantine", help="Maximum number of Byzantine nodes to defend against, if none defaults to 0", type=int)
2222
parser.add_argument("-gb", "--goByzantine", help="Boolean to indicate if the specified number of Byzantine nodes actually send out faulty values"
2323
, type=bool)
2424

@@ -111,4 +111,4 @@
111111
print(f'Monte Carlo {monte_trial} Done!\n Time elapsed {end-start} seconds\n')
112112

113113
with open(filename, 'wb') as handle:
114-
pickle.dump(save, handle)
114+
pickle.dump(save, handle)

0 commit comments

Comments
 (0)