Skip to content

Commit

Permalink
Specified integer type for port argument. (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrogaski committed Nov 3, 2015
1 parent 6eda98e commit 3d5cf90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_minecraft
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ def main():
argp.add_argument('-H', '--host', metavar='HOST', required=True,
help='hostname or IP address of the server')
argp.add_argument('-p', '--port', metavar='PORT', default=25565,
help='TCP port number of the server')
type=int, help='TCP port number of the server')
argp.add_argument('-v', '--verbose', action='count', default=0)
argp.add_argument('-w', '--warning', metavar='RANGE', default='120',
help='return warning if RTD is outside RANGE')
Expand Down

0 comments on commit 3d5cf90

Please sign in to comment.