aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd/mbf/main.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-17 22:47:02 +0900
committerOphestra <cat@gensokyo.uk>2026-04-17 22:47:02 +0900
commitb80ea91a42c994b1bcb74d8bcecefc150b899136 (patch)
treedfe1e69454429a41ab08feafecbbe72aa29c4fb2 /cmd/mbf/main.go
parent30a9dfa4b84859a38af8a149f4ce3ea8f69a7001 (diff)
cmd/mbf: abort remote cures
This command arranges for all pending cures to be aborted. It does not wait for cures to complete. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd/mbf/main.go')
-rw-r--r--cmd/mbf/main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/mbf/main.go b/cmd/mbf/main.go
index 4369565a..cbb6f7b2 100644
--- a/cmd/mbf/main.go
+++ b/cmd/mbf/main.go
@@ -520,6 +520,12 @@ func main() {
)
}
+ c.NewCommand(
+ "abort",
+ "Abort all pending cures on the daemon",
+ func([]string) error { return abortRemote(ctx, &addr) },
+ )
+
{
var (
flagNet bool