Skip to content

Commit

Permalink
Fix the test option
Browse files Browse the repository at this point in the history
  • Loading branch information
op06072 committed Jan 27, 2024
1 parent de4b8de commit aa1c5d2
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
4 changes: 4 additions & 0 deletions socpowerbuddy_swift/neoasitop.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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.")
Expand Down

0 comments on commit aa1c5d2

Please sign in to comment.