From 9c03ab8f364caf725f6e260ba0d319acbe7ea4b7 Mon Sep 17 00:00:00 2001 From: jean-emmanuel Date: Thu, 6 Oct 2016 23:00:54 +0200 Subject: [PATCH] main: rename --input-port to --osc-port --- app/main/settings.js | 6 +++--- app/resources/docs/getting-started.md | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/main/settings.js b/app/main/settings.js index 6c92fe2e..5ae46b38 100644 --- a/app/main/settings.js +++ b/app/main/settings.js @@ -11,11 +11,11 @@ var argv = require('yargs') .options({ 's':{alias:'sync',type:'array',describe:'synchronized hosts (ip:port pairs)'}, 'l':{alias:'load',type:'string',describe:'session file to load'}, - 'p':{alias:'port',describe:'http port of the app\'s server (default to 8080)'}, - 'i':{alias:'input-port',describe:'osc input port (for synchronization)'}, + 'p':{alias:'port',describe:'http port of the server (default to 8080)'}, + 'o':{alias:'osc-port',describe:'osc input port'}, 'd':{alias:'debug',describe:'log received osc messages in the console'}, 'n':{alias:'no-gui',describe:'disable default gui'}, - 'g':{alias:'gui-only',describe:'app\'s ip:port, default to localhost:8080, only launch the gui (a server instance must be running)'}, + 'g':{alias:'gui-only',describe:'server\'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'} }) diff --git a/app/resources/docs/getting-started.md b/app/resources/docs/getting-started.md index 50e2d930..9f6ad334 100644 --- a/app/resources/docs/getting-started.md +++ b/app/resources/docs/getting-started.md @@ -10,11 +10,11 @@ Prebuilt binaries for Linux, Windows and OS X can be found on the [release](http Options: -h, --help display help -s, --sync synchronized hosts (ip:port pairs) (all osc messages will also be sent to these) - -i, --input-port osc input port (for synchronization / feedback) + -o, --osc-port osc input port (for synchronization / feedback) -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 app's ip:port, default to localhost:8080, only launch the gui (a server instance must be running) + -p, --port http port of the server (default to 8080) + -n, --no-gui disable default gui + -g, --gui-only server'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)