Skip to content

Commit 47e5be7

Browse files
committed
Remove --max-gain CLI option from docs
The option didn't make sense as max-gain is the default state, so it's already on unless you use the --gain option.
1 parent 76b12ec commit 47e5be7

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

README.md

-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ The following options are available when running `airplanejs`:
8282
- `--device <index>` - Select RTL dongle (alias: `-d`, default: `0`)
8383
- `--frequency <hz>` - Set custom frequency (alias: `-f`, default: `1090000000`)
8484
- `--gain <gain>` - Set custom tuner gain (alias: `-g`)
85-
- `--max-gain` - Set tuner gain to highest possible value (default: on)
8685
- `--auto-gain` - Disable manual tuner gain (default: off)
8786
- `--enable-agc` - Use Automatic Gain Control (default: off)
8887
- `--port <port>` - Set custom HTTP server port (alias: `-p`, default: `3000`)

server.js

-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,6 @@ function help () {
204204
console.log(' --device -d <index> Select RTL dongle (default: 0)')
205205
console.log(' --frequency -f <hz> Set custom frequency (default: 1090000000)')
206206
console.log(' --gain -g <gain> Set custom tuner gain')
207-
console.log(' --max-gain Set tuner gain to highest possible value (default: on)')
208207
console.log(' --auto-gain Disable manual tuner gain (default: off)')
209208
console.log(' --enable-agc Use Automatic Gain Control (default: off)')
210209
console.log(' --port -p <port> Set custom HTTP server port (default: 3000)')

0 commit comments

Comments
 (0)