fix(cloudcmd) bring back working --html-dialogs

This commit is contained in:
coderaiser 2016-11-10 17:31:26 +02:00
parent a228944434
commit 301a12b57d
5 changed files with 12 additions and 0 deletions

View file

@ -74,6 +74,7 @@ Cloud Commander supports command line parameters:
| `--port` | set port number
| `--minify` | enable minification
| `--progress` | show progress of file operations
| `--html-dialogs` | use html dialogs
| `--open` | open web browser when server started
| `--one-panel-mode` | set one panel mode
`--config-dialog` | enable config dialog
@ -84,6 +85,7 @@ Cloud Commander supports command line parameters:
| `--no-open` | do not open web browser when server started
| `--no-minify` | disable minification
| `--no-progress` | do not show progress of file operations
| `--no-html-dialogs` | do not use html dialogs
| `--no-one-panel-mode` | unset one panel mode
| `--no-config-dialog` | disable config dialog
| `--no-console` | disable console
@ -234,6 +236,7 @@ Here is description of options:
"root" : "/", /* root directory */
"prefix" : "", /* url prefix */
"progress" : true, /* show progress of file operations */
"htmlDialogs" : true, /* use html dialogs */
"onePanelMode" : false, /* set one panel mode */
"configDialog" : true, /* enable config dialog */
"console" : true /* enable console */

View file

@ -32,6 +32,7 @@ var Info = require('../package'),
'open',
'minify',
'progress',
'html-dialogs',
'console',
'config-dialog',
'one-panel-mode'
@ -50,6 +51,7 @@ var Info = require('../package'),
progress : config('progress'),
console : defaultTrue(config('console')),
'html-dialogs': config('htmlDialogs'),
'config-dialog': defaultTrue(config('configDialog')),
'one-panel-mode': config('onePanelMode'),
},
@ -89,6 +91,7 @@ if (args.version) {
config('console', args.console);
config('prefix', args.prefix);
config('root', args.root);
config('htmlDialogs', args['html-dialogs']);
config('onePanelMode', args['one-panel-mode']);
config('configDialog', args['config-dialog']);

View file

@ -20,6 +20,8 @@
"root": "/",
"prefix": "",
"progress": true,
"htmlDialogs": true,
"configDialog": true,
"onePanelMode": false,
"configDialog": true,
"console": true

View file

@ -13,6 +13,7 @@
"--port ": "set port number",
"--minify ": "enable minification",
"--progress ": "show progress of file operations",
"--html-dialogs ": "use html dialogs",
"--one-panel-mode ": "set one panel mode",
"--config-dialog ": "enable config dialog",
"--console ": "enable console",
@ -23,6 +24,7 @@
"--no-open ": "do not open web browser when server started",
"--no-minify ": "disable minification",
"--no-progress ": "do not show progress of file operations",
"--no-html-dialogs ": "do not use html dialogs",
"--no-one-panel-mode ": "unset one panel mode",
"--no-config-dialog ": "disable config dialog",
"--no-console ": "disable console"

View file

@ -36,6 +36,7 @@ programs in browser from any computer, mobile or tablet device.
--port set port number
--minify enable minification
--progress show progress of file operations
--html-dialogs use html dialogs
--open open web browser when server started
--one-panel-mode set one panel mode
--config-dialog enable config dialog
@ -46,6 +47,7 @@ programs in browser from any computer, mobile or tablet device.
--no-open do not open web browser when server started
--no-minify disable minification
--no-progress do not show progress of file operations
--no-html-dialogs do not use html dialogs
--no-one-panel-mode unset one panel mode
--no-config-dialog disable config dialog
--no-console disable console