@@ -57,7 +57,7 @@ private static Command CreateDeleteCommand()
5757 {
5858 Arity = ArgumentArity . Zero
5959 } ) ;
60- deleteCommand . Options . Add ( CommonOptions . InteractiveOption ( ) ) ;
60+ deleteCommand . Options . Add ( CommonOptions . CreateInteractiveOption ( ) ) ;
6161
6262 return deleteCommand ;
6363 }
@@ -114,7 +114,7 @@ private static Command CreatePushCommand()
114114 {
115115 Arity = ArgumentArity . Zero
116116 } ) ;
117- pushCommand . Options . Add ( CommonOptions . InteractiveOption ( ) ) ;
117+ pushCommand . Options . Add ( CommonOptions . CreateInteractiveOption ( ) ) ;
118118 pushCommand . Options . Add ( new Option < bool > ( "--skip-duplicate" )
119119 {
120120 Arity = ArgumentArity . Zero
@@ -138,7 +138,7 @@ private static Command CreateVerifyCommand()
138138 verifyCommand . Options . Add ( new Option < IEnumerable < string > > ( fingerprint )
139139 . ForwardAsManyArgumentsEachPrefixedByOption ( fingerprint )
140140 . AllowSingleArgPerToken ( ) ) ;
141- verifyCommand . Options . Add ( CommonOptions . VerbosityOption ( Utils . VerbosityOptions . normal ) ) ;
141+ verifyCommand . Options . Add ( CommonOptions . CreateVerbosityOption ( Utils . VerbosityOptions . normal ) ) ;
142142
143143 return verifyCommand ;
144144 }
@@ -167,12 +167,12 @@ private static Command CreateTrustCommand()
167167 // as well as the standard NugetCommand.Run handler
168168
169169 trustCommand . Options . Add ( configFile ) ;
170- trustCommand . Options . Add ( CommonOptions . VerbosityOption ( Utils . VerbosityOptions . normal ) ) ;
170+ trustCommand . Options . Add ( CommonOptions . CreateVerbosityOption ( Utils . VerbosityOptions . normal ) ) ;
171171
172172 foreach ( var command in trustCommand . Subcommands )
173173 {
174174 command . Options . Add ( configFile ) ;
175- command . Options . Add ( CommonOptions . VerbosityOption ( Utils . VerbosityOptions . normal ) ) ;
175+ command . Options . Add ( CommonOptions . CreateVerbosityOption ( Utils . VerbosityOptions . normal ) ) ;
176176 }
177177
178178 Command CreateAuthorCommand ( ) => new ( "author" ) {
@@ -242,7 +242,7 @@ private static Command CreateSignCommand()
242242 {
243243 Arity = ArgumentArity . Zero
244244 } ) ;
245- signCommand . Options . Add ( CommonOptions . VerbosityOption ( Utils . VerbosityOptions . normal ) ) ;
245+ signCommand . Options . Add ( CommonOptions . CreateVerbosityOption ( Utils . VerbosityOptions . normal ) ) ;
246246
247247 return signCommand ;
248248 }
0 commit comments