Skip to content

Commit

Permalink
Change aliases in Suspend, Unsuspend and Up
Browse files Browse the repository at this point in the history
  • Loading branch information
larynjahor committed Aug 24, 2022
1 parent 89436e6 commit 11d7291
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmd/services/suspend.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
// SuspendCmd represents the suspend command
var SuspendCmd = &cobra.Command{
Use: "suspend [service_id] [flags]",
Aliases: []string{"u"},
Aliases: []string{"sus", "susp"},
Short: "NoCloud Service Suspend",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/services/unsuspend.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
// Unsuspend represents the unsuspend command
var UnsuspendCmd = &cobra.Command{
Use: "unsuspend [service_id] [flags]",
Aliases: []string{"unsus"},
Aliases: []string{"unsus, uns, unsusp"},
Short: "NoCloud Service Unsuspend",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/services/up.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand All @@ -23,7 +23,7 @@ import (
// createCmd represents the create command
var UpCmd = &cobra.Command{
Use: "up [service_id] [flags]",
Aliases: []string{"u"},
Aliases: []string{},
Short: "NoCloud Service Up",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) (err error) {
Expand Down
2 changes: 1 addition & 1 deletion cmd/services/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
Expand Down

0 comments on commit 11d7291

Please sign in to comment.