diff --git a/README.md b/README.md index 16480b0..4c144f2 100644 --- a/README.md +++ b/README.md @@ -146,7 +146,7 @@ Use a counter that persists even with window focus for the application badge for #### [width] ``` --w, --width +--width ``` Width of the packaged application, defaults to `1280px`. @@ -154,7 +154,7 @@ Width of the packaged application, defaults to `1280px`. #### [height] ``` --h, --height +--height ``` Height of the packaged application, defaults to `800px`. diff --git a/src/cli.js b/src/cli.js index 421e411..516eb95 100755 --- a/src/cli.js +++ b/src/cli.js @@ -60,8 +60,8 @@ if (require.main === module) { .option('-c, --conceal', 'packages the source code within your app into an archive, defaults to false, see http://electron.atom.io/docs/v0.36.0/tutorial/application-packaging/') .option('--counter', 'if the target app should use a persistant counter badge in the dock (OSX only), defaults to false') .option('-i, --icon ', 'the icon file to use as the icon for the app (should be a .icns file on OSX)') - .option('-w, --width ', 'set window width, defaults to 1280px', parseInt) - .option('-h, --height ', 'set window height, defaults to 800px', parseInt) + .option('--width ', 'set window width, defaults to 1280px', parseInt) + .option('--height ', 'set window height, defaults to 800px', parseInt) .option('-u, --user-agent ', 'set the user agent string for the app') .option('--honest', 'prevent the nativefied app from changing the user agent string to masquerade as a regular chrome browser') .parse(process.argv);