From 1488accbe3a927e32e7d45d01cd05aca761ff6d3 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Mon, 7 Nov 2016 20:12:58 +0200 Subject: [PATCH] feature(cloudcmd) rm --html-dialogs: do nothing --- HELP.md | 2 -- bin/cloudcmd.js | 3 --- json/config.json | 1 - json/help.json | 2 -- man/cloudcmd.1 | 2 -- 5 files changed, 10 deletions(-) diff --git a/HELP.md b/HELP.md index 17894e67..a13fe3ab 100644 --- a/HELP.md +++ b/HELP.md @@ -74,7 +74,6 @@ Cloud Commander supports command line parameters: | `--port` | set port number | `--minify` | enable minification | `--progress` | show progress of file operations -| `--html-dialogs` | show html dialogs | `--open` | open web browser when server started | `--one-panel-mode` | set one panel mode | `--no-server` | do not start server @@ -83,7 +82,6 @@ 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 If no parameters given Cloud Commander reads information from `~/.cloudcmd.json` and use diff --git a/bin/cloudcmd.js b/bin/cloudcmd.js index 9632075d..56c29259 100755 --- a/bin/cloudcmd.js +++ b/bin/cloudcmd.js @@ -32,7 +32,6 @@ var Info = require('../package'), 'open', 'minify', 'progress', - 'html-dialogs', 'one-panel-mode' ], default: { @@ -48,7 +47,6 @@ var Info = require('../package'), prefix : config('prefix') || '', progress : config('progress'), - 'html-dialogs' : config('htmlDialogs'), 'one-panel-mode': config('onePanelMode'), }, alias: { @@ -86,7 +84,6 @@ if (args.version) { config('progress', args.progress); config('prefix', args.prefix); config('root', args.root); - config('htmlDialogs', args['html-dialogs']); config('onePanelMode', args['one-panel-mode']); readConfig(args.config); diff --git a/json/config.json b/json/config.json index 678a1166..7d6ab83c 100644 --- a/json/config.json +++ b/json/config.json @@ -20,6 +20,5 @@ "root": "/", "prefix": "", "progress": true, - "htmlDialogs": true, "onePanelMode": false } diff --git a/json/help.json b/json/help.json index c4b49fa1..3ec49264 100644 --- a/json/help.json +++ b/json/help.json @@ -13,7 +13,6 @@ "--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", "--open ": "open web browser when server started", "--no-server ": "do not start server", @@ -22,6 +21,5 @@ "--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" } diff --git a/man/cloudcmd.1 b/man/cloudcmd.1 index 4deb8c7b..c60e3b18 100644 --- a/man/cloudcmd.1 +++ b/man/cloudcmd.1 @@ -36,7 +36,6 @@ 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 --no-auth disable authorization @@ -45,7 +44,6 @@ 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 .SH RESOURCES AND DOCUMENTATION