Skip to content

Commit f6c347a

Browse files
committed
rofl: Add topup alias for top-up
1 parent 9b1e3d7 commit f6c347a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

cmd/rofl/machine/mgmt.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,10 @@ var (
186186
}
187187

188188
topUpCmd = &cobra.Command{
189-
Use: "top-up [<machine-name> | <provider-address>:<machine-id>]",
190-
Short: "Top-up payment for a machine",
191-
Args: cobra.MaximumNArgs(1),
189+
Use: "top-up [<machine-name> | <provider-address>:<machine-id>]",
190+
Short: "Top-up payment for a machine",
191+
Aliases: []string{"topup"},
192+
Args: cobra.MaximumNArgs(1),
192193
Run: func(_ *cobra.Command, args []string) {
193194
txCfg := common.GetTransactionConfig()
194195

0 commit comments

Comments
 (0)