File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
aspnet-core/src/AbpCompanyName.AbpProjectName.Migrator Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,7 @@ namespace AbpCompanyName.AbpProjectName.Migrator
9
9
{
10
10
public class Program
11
11
{
12
- private static bool _skipConnVerification = false ;
13
- private static bool _runInQuietMode = false ;
12
+ private static bool _quietMode = false ;
14
13
15
14
public static void Main ( string [ ] args )
16
15
{
@@ -27,10 +26,10 @@ public static void Main(string[] args)
27
26
28
27
using ( var migrateExecuter = bootstrapper . IocManager . ResolveAsDisposable < MultiTenantMigrateExecuter > ( ) )
29
28
{
30
- migrateExecuter . Object . Run ( _skipConnVerification ) ;
29
+ migrateExecuter . Object . Run ( _quietMode ) ;
31
30
}
32
31
33
- if ( ! _runInQuietMode )
32
+ if ( ! _quietMode )
34
33
{
35
34
Console . WriteLine ( "Press ENTER to exit..." ) ;
36
35
Console . ReadLine ( ) ;
@@ -49,11 +48,8 @@ private static void ParseArgs(string[] args)
49
48
{
50
49
switch ( arg )
51
50
{
52
- case "-s" :
53
- _skipConnVerification = true ;
54
- break ;
55
51
case "-q" :
56
- _runInQuietMode = true ;
52
+ _quietMode = true ;
57
53
break ;
58
54
}
59
55
}
You can’t perform that action at this time.
0 commit comments