@@ -19,7 +19,6 @@ function increaseVerbosity(v, total) {
1919 return total + 1 ;
2020}
2121
22-
2322program
2423 . version ( version )
2524 . usage ( '<command>' )
@@ -50,7 +49,8 @@ program
5049 . option ( '-o, --output <file>' , 'file to output to' )
5150 . option ( '-q, --quiet' , 'reduce verbosity' )
5251 . option ( '-j, --json-schema' , 'treat $ref like JSON Schema and convert to OpenAPI Schema Objects (default: false)' )
53- . option ( '-v, --verbose' , 'increase verbosity' , increaseVerbosity , 1 )
52+ . option ( '-i, --internal-refs' , 'resolve internal references (default: false)' )
53+ . option ( '-v, --verbose' , 'increase verbosity' , increaseVerbosity , 1 )
5454 . action ( ( specFile , cmd ) => {
5555 resolve . command ( specFile , cmd )
5656 . then ( ( ) => { process . exit ( 0 ) } )
@@ -68,7 +68,7 @@ program
6868 . option ( '-p, --port [value]' , 'port on which the server will listen (default: 5000)' )
6969 . option ( '-q, --quiet' , 'reduce verbosity' )
7070 . option ( '-j, --json-schema' , 'treat $ref like JSON Schema and convert to OpenAPI Schema Objects (default: false)' )
71- . option ( '-v, --verbose' , 'increase verbosity' , increaseVerbosity , 1 )
71+ . option ( '-v, --verbose' , 'increase verbosity' , increaseVerbosity , 1 )
7272 // TODO .option('-w, --watch', 'reloading browser on spec file changes')
7373 . action ( ( specFile , cmd ) => {
7474 serve . command ( specFile , cmd )
0 commit comments