From f6c347a601b3e095bc86e192a31ca2a3fe40776f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matev=C5=BE=20Jekovec?= Date: Tue, 2 Jun 2026 10:52:12 +0200 Subject: [PATCH] rofl: Add topup alias for top-up --- cmd/rofl/machine/mgmt.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/rofl/machine/mgmt.go b/cmd/rofl/machine/mgmt.go index f80cf3d1..d0ba58b0 100644 --- a/cmd/rofl/machine/mgmt.go +++ b/cmd/rofl/machine/mgmt.go @@ -186,9 +186,10 @@ var ( } topUpCmd = &cobra.Command{ - Use: "top-up [ | :]", - Short: "Top-up payment for a machine", - Args: cobra.MaximumNArgs(1), + Use: "top-up [ | :]", + Short: "Top-up payment for a machine", + Aliases: []string{"topup"}, + Args: cobra.MaximumNArgs(1), Run: func(_ *cobra.Command, args []string) { txCfg := common.GetTransactionConfig()