File tree Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Expand file tree Collapse file tree 2 files changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ import yargs from 'yargs';
66import { hideBin } from 'yargs/helpers' ;
77import commands from '../src/commands/index.js' ;
88
9- const argv = yargs ( hideBin ( process . argv ) )
9+ yargs ( hideBin ( process . argv ) )
1010 . strict ( )
1111 . command ( commands . serve )
1212 . command ( commands . build )
@@ -42,10 +42,3 @@ const argv = yargs(hideBin(process.argv))
4242 )
4343 . recommendCommands ( )
4444 . help ( ) . argv ;
45-
46- if ( argv . private ) {
47- console . error (
48- '--private is deprecated, please use the --access (or -a) option instead'
49- ) ;
50- console . error ( 'for example: -a public -a private -a protected -a undefined' ) ;
51- }
Original file line number Diff line number Diff line change @@ -45,12 +45,6 @@ export const sharedInputOptions = {
4545 type : 'array' ,
4646 alias : 'pe'
4747 } ,
48- private : {
49- describe : 'generate documentation tagged as private' ,
50- type : 'boolean' ,
51- default : false ,
52- alias : 'p'
53- } ,
5448 access : {
5549 describe :
5650 'Include only comments with a given access level, out of private, ' +
You can’t perform that action at this time.
0 commit comments