Skip to content

Commit 04c0775

Browse files
committed
fix(Domain): Fix some error
- Fix some error in domain_list and domain_record_list BREAKING CHANGE: No Signed-off-by: Alejandro JNM <[email protected]>
1 parent 2e58446 commit 04c0775

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cmd/domain_record_list.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ package cmd
33
import (
44
"github.com/civo/cli/config"
55
"github.com/civo/cli/utility"
6-
76
"github.com/spf13/cobra"
87
"os"
98
"strconv"
@@ -12,6 +11,7 @@ import (
1211
var domainRecordListCmd = &cobra.Command{
1312
Use: "ls",
1413
Aliases: []string{"list", "all"},
14+
Example: "civo domain record ls DOMAIN/DOMAIN_ID",
1515
Args: cobra.MinimumNArgs(1),
1616
Short: "List all domains records",
1717
Long: `List all current domain records.
@@ -22,9 +22,7 @@ If you wish to use a custom format, the available fields ar :
2222
* Value
2323
* Type
2424
* TTL
25-
* Priority
26-
27-
Example: civo domain record ls DOMAIN/DOMAIN_ID -o custom -f "ID: Name"`,
25+
* Priority`,
2826
Run: func(cmd *cobra.Command, args []string) {
2927
client, err := config.CivoAPIClient()
3028
if err != nil {

0 commit comments

Comments
 (0)