diff --git a/README.md b/README.md
index b1bf70c9..2b286368 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
#
Open Stage Control
-Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS on top of [Electron](http://electron.atom.io/) framework.
+Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS and run as a Node / [Electron](http://electron.atom.io/) web server that accepts any number of Chrome / Chromium / Electron clients.
## Documentation
diff --git a/app/main/gui.js b/app/main/gui.js
index d23e0429..d15ca6a8 100644
--- a/app/main/gui.js
+++ b/app/main/gui.js
@@ -2,9 +2,8 @@ var path = require('path'),
shortcut = require('electron-localshortcut'),
{app, BrowserWindow, dialog} = require('electron'),
settings = require('./settings'),
- address = settings.read('address')? 'http://' + settings.read('address') : settings.read('appAddresses')[0]
+ address = typeof settings.read('guiOnly')=='string'? 'http://' + settings.read('guiOnly') : settings.read('appAddresses')[0]
-console.log(address)
dialog.showErrorBox = function(title,err) {
console.log(title + ': ' + err)
}
diff --git a/app/main/settings.js b/app/main/settings.js
index 52a51028..6c92fe2e 100644
--- a/app/main/settings.js
+++ b/app/main/settings.js
@@ -15,8 +15,7 @@ var argv = require('yargs')
'i':{alias:'input-port',describe:'osc input port (for synchronization)'},
'd':{alias:'debug',describe:'log received osc messages in the console'},
'n':{alias:'no-gui',describe:'disable default gui'},
- 'g':{alias:'gui-only',describe:'only launch the gui (a server instance must be running) '},
- 'a':{alias:'address',describe:'app\'s ip:port (for gui-only mode, default to localhost:8080)'},
+ 'g':{alias:'gui-only',describe:'app\'s ip:port, default to localhost:8080, only launch the gui (a server instance must be running)'},
't':{alias:'theme',type:'array',describe:'theme name or path (mutliple values allowed)'},
'examples':{describe:'list examples instead of recent sessions'}
})
@@ -40,7 +39,6 @@ var config = function(){try {return JSON.parse(fs.readFileSync(configFile,'utf-8
sessionFile: argv.l || false,
noGui: argv.n || false,
guiOnly: argv.g || false,
- address: argv.a || false,
appAddresses:function(){
var appAddresses = []
diff --git a/app/resources/docs/getting-started.md b/app/resources/docs/getting-started.md
index b102b541..fce14be1 100644
--- a/app/resources/docs/getting-started.md
+++ b/app/resources/docs/getting-started.md
@@ -14,8 +14,7 @@ Options:
-d, --debug log received osc in the console
-p, --port http port of the app\'s server (default to 8080)
-n, --nogui disable default gui
- -g, --gui-only only launch the gui (a server instance must be running)
- -a, --address app\'s ip:port (for gui-only mode, default to localhost:8080)
+ -g, --gui-only app\'s ip:port, default to localhost:8080, only launch the gui (a server instance must be running)
-l, --load session file to load
-t, --theme theme name or path (mutliple values allowed)
diff --git a/app/resources/docs/index.md b/app/resources/docs/index.md
index 00baa9f3..48350dd8 100644
--- a/app/resources/docs/index.md
+++ b/app/resources/docs/index.md
@@ -1,6 +1,6 @@
#
Open Stage Control
-Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS on top of [Electron](http://electron.atom.io/) framework.
+Open Stage Control is a libre desktop OSC bi-directionnal control surface application. It's built with HTML, JavaScript & CSS and run as a Node / [Electron](http://electron.atom.io/) web server that accepts any number of Chrome / Chromium / Electron clients.
## Demo