Skip to content

Commit

Permalink
Update argument type for heap size
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonHaynes committed Jun 19, 2015
1 parent 9265ec1 commit 970d445
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions myriadeploy/create_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@ def main(argv):
'(default is [--name])')

parser.add_argument(
'--heap', type=str, help='Java VM heap size (e.g., "-Xmx2g") '
'and/or other parameters')
'--heap', type=float, help='Java VM heap size in GB (e.g., "-Xmx2g")')
parser.add_argument(
'--debug', default=False, action='store_true',
help='Enable debugging support')
Expand Down

1 comment on commit 970d445

@senderista
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sample usage needs to be clarified (still implies you need to specify the whole JVM flag format).

Please sign in to comment.