diff --git a/socpowerbuddy_swift.xcodeproj/xcuserdata/eomsehwan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist b/socpowerbuddy_swift.xcodeproj/xcuserdata/eomsehwan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist index 53b7ae4..c0d88cd 100644 --- a/socpowerbuddy_swift.xcodeproj/xcuserdata/eomsehwan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist +++ b/socpowerbuddy_swift.xcodeproj/xcuserdata/eomsehwan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist @@ -2433,8 +2433,8 @@ filePath = "socpowerbuddy_swift/neoasitop.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "152" - endingLineNumber = "152" + startingLineNumber = "156" + endingLineNumber = "156" landmarkName = "launch()" landmarkType = "7"> </BreakpointContent> @@ -2559,8 +2559,8 @@ filePath = "socpowerbuddy_swift/neoasitop.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "147" - endingLineNumber = "147" + startingLineNumber = "151" + endingLineNumber = "151" landmarkName = "launch()" landmarkType = "7"> </BreakpointContent> @@ -3087,8 +3087,8 @@ filePath = "socpowerbuddy_swift/neoasitop.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "170" - endingLineNumber = "170" + startingLineNumber = "174" + endingLineNumber = "174" landmarkName = "launch()" landmarkType = "7"> </BreakpointContent> @@ -3518,8 +3518,8 @@ filePath = "socpowerbuddy_swift/neoasitop.swift" startingColumnNumber = "9223372036854775807" endingColumnNumber = "9223372036854775807" - startingLineNumber = "211" - endingLineNumber = "211" + startingLineNumber = "215" + endingLineNumber = "215" landmarkName = "launch()" landmarkType = "7"> <Locations> diff --git a/socpowerbuddy_swift/neoasitop.swift b/socpowerbuddy_swift/neoasitop.swift index c874b94..3e7a342 100644 --- a/socpowerbuddy_swift/neoasitop.swift +++ b/socpowerbuddy_swift/neoasitop.swift @@ -45,6 +45,10 @@ struct Neoasitop: ParsableCommand { if version { print(cur_ver) } else { + if test && dump == "" { + print("Please give the dump file path with dump option for using test option.") + Neoasitop.exit(withError: ExitCode(EX_USAGE)) + } launch() if newVersion { print("New version is released! Please update the NeoAsitop.")