From 99f1bca28cfbf75ec0b35aa57a286281b7d4f924 Mon Sep 17 00:00:00 2001 From: fitsum Date: Thu, 4 Jul 2024 01:54:27 -0400 Subject: [PATCH] =?UTF-8?q?uncomment=20default=20values=20because=20they?= =?UTF-8?q?=20don't=20seem=20to=20interfere=20with=20options=20anymore=20?= =?UTF-8?q?=F0=9F=A4=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index 3b61a9e..bc98bad 100644 --- a/main.js +++ b/main.js @@ -14,19 +14,19 @@ const argv = require( 'yargs' ) .option( 'latitude', { alias: 'lat', description: 'Latitude of initial centre', - /* default: config.initialLat, */ + default: config.initialLat, type: 'number' } ) .option( 'longitude', { alias: 'lon', description: 'Longitude of initial centre', - /* default: config.initialLon, */ + default: config.initialLon, type: 'number' } ) .option( 'zoom', { alias: 'z', description: 'Initial zoom', - /* default: config.initialZoom, */ + default: config.initialZoom, type: 'number' } ) .option( 'width', {