Show full version number

This commit is contained in:
Samuel Elliott 2025-08-19 19:49:43 +01:00
parent 07691de7b5
commit aecf9556ef
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6

View File

@ -4,7 +4,7 @@ import { setGlobalDispatcher } from 'undici';
import * as commands from './cli/commands.js';
import { checkUpdates } from './common/update.js';
import createDebug from './util/debug.js';
import { dev } from './util/product.js';
import { dev, product } from './util/product.js';
import { paths } from './util/storage.js';
import { YargsArguments } from './util/yargs.js';
import { addUserAgent } from './util/useragent.js';
@ -39,6 +39,7 @@ export function createYargs(argv: string[]) {
.demandCommand()
.help()
// .version(false)
.version(product)
.showHelpOnFail(false, 'Specify --help for available options');
return yargs;