mirror of
https://github.com/atom/atom.git
synced 2026-01-15 01:48:15 -05:00
Use long opts strings for clarity
This commit is contained in:
@@ -92,11 +92,11 @@ parseCommandLine = ->
|
||||
options.alias('w', 'wait').boolean('w').describe('w', 'Wait for window to be closed before returning.')
|
||||
args = options.argv
|
||||
|
||||
if args.h
|
||||
if args.help
|
||||
process.stdout.write(options.help())
|
||||
process.exit(0)
|
||||
|
||||
if args.v
|
||||
if args.version
|
||||
process.stdout.write("#{version}\n")
|
||||
process.exit(0)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user