We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fad42ac commit d7e81a0Copy full SHA for d7e81a0
packages/terminal/lib/index.js
@@ -20,7 +20,7 @@ program
20
.option('--parity <parity>', 'Parity default: none', 'none')
21
.option('--stopbits <bits>', 'Stop bits default: 1', makeNumber, 1)
22
.option('--no-echo', "Don't print characters as you type them.")
23
- .option('--flow-ctl <mode>', "Enable flow control {XONOFF | RTSCTS}.")
+ .option('--flow-ctl <mode>', 'Enable flow control {XONOFF | RTSCTS}.')
24
.parse(process.argv)
25
26
const args = program.opts()
@@ -61,7 +61,7 @@ const createPort = path => {
61
stopBits: args.stopbits,
62
rtscts: args.flowCtl === 'CTSRTS',
63
xon: args.flowCtl === 'XONOFF',
64
- xoff: args.flowCtl === 'XONOFF'
+ xoff: args.flowCtl === 'XONOFF',
65
}
66
67
const port = new SerialPort(path, openOptions)
0 commit comments