From 56ccf6026762d7e8dea55371eb81af68fb6ad4e9 Mon Sep 17 00:00:00 2001 From: bitromortac Date: Tue, 6 May 2025 09:48:20 +0200 Subject: [PATCH] lncli: correct docs for loadmc --- cmd/commands/cmd_import_mission_control.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/cmd/commands/cmd_import_mission_control.go b/cmd/commands/cmd_import_mission_control.go index 8bc69729b..7f0f656f7 100644 --- a/cmd/commands/cmd_import_mission_control.go +++ b/cmd/commands/cmd_import_mission_control.go @@ -106,7 +106,7 @@ var loadMissionControlCommand = cli.Command{ Name: "loadmc", Category: "Mission Control", Usage: "Load mission control results to the internal mission " + - "control state from a file produced by querymc with the " + + "control state from a file produced by `querymc` with the " + "option to shift timestamps. Note that this data is not " + "persisted across restarts.", Action: actionDecorator(loadMissionControl), @@ -122,12 +122,12 @@ var loadMissionControlCommand = cli.Command{ cli.StringFlag{ Name: "timeoffset", Usage: "Time offset to add to all timestamps. " + - "Format: 1m for a minute, 1h for an hour, 1d " + - "for one day. This can be used to let " + - "mission control data appear to be more " + - "recent, to trick pathfinding's in-built " + - "information decay mechanism. Additionally " + - "by setting 0m, this will report the most " + + "Follows a format like 72h3m0.5s. " + + "This can be used to make mission control " + + "data appear more recent, to trick " + + "pathfinding's in-built information decay " + + "mechanism. Additionally, " + + "by setting 0s, this will report the most " + "recent result timestamp, which can be used " + "to find out how old this data is.", }, @@ -222,7 +222,7 @@ func loadMissionControl(ctx *cli.Context) error { } } - fmt.Printf("Adding time offset %v to all timestamps. "+ + fmt.Printf("Added a time offset %v to all timestamps. "+ "New max timestamp: %v\n", offset, maxTimestamp) }