Skip to content

Commit

Permalink
add --profile to usage, make it prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
perimosocordiae committed Apr 21, 2012
1 parent 73cfc0d commit 5e3fe8e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion console/runner.coffee
Expand Up @@ -20,7 +20,12 @@ if require.main == module
optimist = require 'optimist'
{argv} = optimist

optimist.usage('Usage: $0 /path/to/classfile --java=[args for JVM] [--log=[0-10]|debug|error]')
optimist.usage '''
Usage: $0 /path/to/classfile
--java=[args for JVM]
[--log=[0-10]|debug|error]
[--profile]
'''

return optimist.showHelp() if argv.help

Expand Down

0 comments on commit 5e3fe8e

Please sign in to comment.