Fix the --version option.

BUG=
R=leafp@google.com

Review URL: https://codereview.chromium.org/1414133003 .
This commit is contained in:
Devon Carew 2015-10-23 11:06:25 -07:00
parent 97694befba
commit 13c699cb05

View file

@ -288,7 +288,8 @@ final ArgParser argParser = new ArgParser()
// general options
..addFlag('help', abbr: 'h', help: 'Display this message')
..addFlag('version', help: 'Display the Dev Compiler verion')
..addFlag('version',
negatable: false, help: 'Display the Dev Compiler verion')
..addFlag('server', help: 'Run as a development server.', defaultsTo: false)
..addFlag('hashing',
help: 'Enable hash-based file caching.', defaultsTo: null)