Skip to content

Commit cbc5d0f

Browse files
committed
Fix --pre type. Fixes #1103.
1 parent 46efecb commit cbc5d0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ As a comparison: without using the --peer option, ncu will suggest the latest ve
270270
long: 'pre',
271271
arg: 'n',
272272
description: 'Include -alpha, -beta, -rc. (default: 0; default with --newest and --greatest: 1).',
273-
type: 'boolean',
273+
type: 'number',
274274
parse: s => !!parseInt(s, 10),
275275
},
276276
{

0 commit comments

Comments
 (0)