kopia lustrzana https://github.com/rastapasta/mapscii
uncomment default values because they don't seem to interfere with options anymore 🤷
rodzic
b25213a6f9
commit
99f1bca28c
6
main.js
6
main.js
|
@ -14,19 +14,19 @@ const argv = require( 'yargs' )
|
||||||
.option( 'latitude', {
|
.option( 'latitude', {
|
||||||
alias: 'lat',
|
alias: 'lat',
|
||||||
description: 'Latitude of initial centre',
|
description: 'Latitude of initial centre',
|
||||||
/* default: config.initialLat, */
|
default: config.initialLat,
|
||||||
type: 'number'
|
type: 'number'
|
||||||
} )
|
} )
|
||||||
.option( 'longitude', {
|
.option( 'longitude', {
|
||||||
alias: 'lon',
|
alias: 'lon',
|
||||||
description: 'Longitude of initial centre',
|
description: 'Longitude of initial centre',
|
||||||
/* default: config.initialLon, */
|
default: config.initialLon,
|
||||||
type: 'number'
|
type: 'number'
|
||||||
} )
|
} )
|
||||||
.option( 'zoom', {
|
.option( 'zoom', {
|
||||||
alias: 'z',
|
alias: 'z',
|
||||||
description: 'Initial zoom',
|
description: 'Initial zoom',
|
||||||
/* default: config.initialZoom, */
|
default: config.initialZoom,
|
||||||
type: 'number'
|
type: 'number'
|
||||||
} )
|
} )
|
||||||
.option( 'width', {
|
.option( 'width', {
|
||||||
|
|
Ładowanie…
Reference in New Issue