aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornea <nea@nea.moe>2023-02-08 22:50:18 +0100
committernea <nea@nea.moe>2023-02-08 22:50:18 +0100
commit56cbcb12cea0b7bf69ea48f758d4644287bb1886 (patch)
tree3f7ee1b1ff22abe369e1d182e37dc3f7b8ede53c
parent161e8e69466ec3f68cf5ca21592cdab63d9944e3 (diff)
downloadNotEnoughUpdates-56cbcb12cea0b7bf69ea48f758d4644287bb1886.tar.gz
NotEnoughUpdates-56cbcb12cea0b7bf69ea48f758d4644287bb1886.tar.bz2
NotEnoughUpdates-56cbcb12cea0b7bf69ea48f758d4644287bb1886.zip
Fix diag command help
-rw-r--r--src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DiagCommand.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DiagCommand.kt b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DiagCommand.kt
index 8985caaa..3e5e7b9b 100644
--- a/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DiagCommand.kt
+++ b/src/main/kotlin/io/github/moulberry/notenoughupdates/commands/dev/DiagCommand.kt
@@ -41,8 +41,8 @@ class DiagCommand {
thenArgumentExecute("usecenter", bool()) { useCenter ->
CrystalMetalDetectorSolver.setDebugDoNotUseCenter(this[useCenter])
reply("Center coordinates-based solutions ${if (this[useCenter]) "enabled" else "disabled"}")
- }
- }.withHelp("Toggle coordinate based solutions")
+ }.withHelp("Toggle coordinate based solutions")
+ }
thenExecute {
CrystalMetalDetectorSolver.logDiagnosticData(true)
reply("Enabled metal detector diagnostic logging.")