File tree 2 files changed +1
-14
lines changed
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';
6
6
import { hideBin } from 'yargs/helpers' ;
7
7
import commands from '../src/commands/index.js' ;
8
8
9
- const argv = yargs ( hideBin ( process . argv ) )
9
+ yargs ( hideBin ( process . argv ) )
10
10
. strict ( )
11
11
. command ( commands . serve )
12
12
. command ( commands . build )
@@ -42,10 +42,3 @@ const argv = yargs(hideBin(process.argv))
42
42
)
43
43
. recommendCommands ( )
44
44
. 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 = {
45
45
type : 'array' ,
46
46
alias : 'pe'
47
47
} ,
48
- private : {
49
- describe : 'generate documentation tagged as private' ,
50
- type : 'boolean' ,
51
- default : false ,
52
- alias : 'p'
53
- } ,
54
48
access : {
55
49
describe :
56
50
'Include only comments with a given access level, out of private, ' +
You can’t perform that action at this time.
0 commit comments