Update grab.ts

This commit is contained in:
freearhey
2025-07-17 18:54:05 +03:00
parent 6af8f23ea9
commit 6411fb454c

View File

@@ -31,7 +31,7 @@ program
'--days <days>', '--days <days>',
'Override the number of days for which the program will be loaded (defaults to the value from the site config)' 'Override the number of days for which the program will be loaded (defaults to the value from the site config)'
) )
.argParser(value => parseInt(value)) .argParser(value => (value !== undefined ? parseInt(value) : undefined))
.env('DAYS') .env('DAYS')
) )
.addOption( .addOption(