Skip to content

Commit

Permalink
help text update for the cmd line argument parser
Browse files Browse the repository at this point in the history
  • Loading branch information
gspeed0689 authored Jul 7, 2021
1 parent 98dbc54 commit 873e100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rabbitmq-GLS.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def arguments():
parser.add_argument("-s", "--stepsize", default=1000000, type=int,
help="Step size is the number of numbers to be calculated in a single go, computers are fast, pick a reasonably big number (like 1 million)")
parser.add_argument("-p", "--processnumber", type=int,
help="Which process this program will run on. 0 = producer, 1>= calculator")
help="Which process this program will run on. 0 : producer\n 1 : accumulator (broken)\n >=2 : calculator")
args = parser.parse_args()

bdb(1, "Arguments Parsed")
Expand Down Expand Up @@ -159,4 +159,4 @@ def callback_calculations(ch, method, properties, body):
try:
sys.exit(0)
except SystemExit:
os._exit(0)
os._exit(0)

0 comments on commit 873e100

Please sign in to comment.