Skip to content

Commit

Permalink
Fix handling of TXT records begining with '-'
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelangel-nubla committed Jun 1, 2019
1 parent e0c9a57 commit 9c722d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmd/cleanup.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ var cleanupCmd = &cobra.Command{
Use: "cleanup [acme-hostname] [TXT-record]",
Short: "Delete the dns record",
Long: `Delete ACME TXT record on the specified domain`,
DisableFlagParsing: true,
DisableFlagsInUseLine: true,
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
1 change: 1 addition & 0 deletions cmd/present.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ var presentCmd = &cobra.Command{
Use: "present [acme-hostname] [TXT-record]",
Short: "Update the dns record",
Long: `Update ACME TXT record on the specified domain`,
DisableFlagParsing: true,
DisableFlagsInUseLine: true,
Args: cobra.ExactArgs(2),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down

0 comments on commit 9c722d3

Please sign in to comment.