Typos and grammatical (English) cleanups. Changes made to comments and text output, not css classes or variable names.
This commit is contained in:
parent
796ee2fdc6
commit
5301e2507a
20 changed files with 26 additions and 26 deletions
|
|
@ -424,7 +424,7 @@ module.exports = {
|
|||
// target: ['host:port', ...],
|
||||
// preArgs: [arg1, ...],
|
||||
// address: '/address',
|
||||
// typeTags: 'iif' // one letter per arg typetage
|
||||
// typeTags: 'iif' // one letter per arg typetag
|
||||
// }
|
||||
// }
|
||||
// preArgs, target and typeTags can be empty strings
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ module.exports = function(options={}) {
|
|||
|
||||
window.setBounds({x, y, width, height})
|
||||
|
||||
// retreive last geometry
|
||||
// retrieve last geometry
|
||||
if (settings.read('geometry') && settings.read('geometry')[options.id]) {
|
||||
var geometry = settings.read('geometry')[options.id],
|
||||
mScreen = screen.getDisplayMatching(geometry)
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ module.exports = {
|
|||
true : 'Port must be an integer >= 1024'
|
||||
}
|
||||
},
|
||||
'tcp-targets': {type: 'array', describe: 'tcp servers to connect to (ip: port pairs), does not susbtitute for --send',
|
||||
'tcp-targets': {type: 'array', describe: 'tcp servers to connect to (ip: port pairs), does not substitute for --send',
|
||||
check: (s, argv)=>{
|
||||
if (!argv['tcp-port']) return '--tcp-port must be set'
|
||||
return s.some(item=>!item.match(/^[^:]*:[0-9]{4,5}$/)) ?
|
||||
|
|
@ -85,7 +85,7 @@ module.exports = {
|
|||
return a.match(/[^:]*:[^:]+/) ? true : 'Auth must be a user:password pair.'
|
||||
}
|
||||
},
|
||||
'instance-name': {type: 'string', describe: 'used to differenciate multiple instances in a zeroconf network'},
|
||||
'instance-name': {type: 'string', describe: 'used to differentiate multiple instances in a zeroconf network'},
|
||||
'use-ssl': {type: 'boolean', describe: 'set to true to use HTTPS protocol instead of HTTP (a self-signed certificate will be created)'},
|
||||
|
||||
// cli only
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ var path = require('path'),
|
|||
options = require('./options'),
|
||||
address = require('./address')
|
||||
|
||||
// This prevents argv parsing to be breaked when the app is packaged (executed without 'electron' prefix)
|
||||
// This prevents argv parsing from breaking when the app is packaged (executed without 'electron' prefix)
|
||||
var firstArgIndex = path.basename(process.argv[0]).match(/electron|node/) ? 2 : 1
|
||||
|
||||
if (process.env.OSC_SERVER_PROCESS) firstArgIndex++
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue