Skip to content

Commit 81ac499

Browse files
authored
Merge pull request #31 from jungaretti/fix-print-use
Mention domain argument in print help
2 parents 3f359cd + 9a25f8b commit 81ac499

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/deploy.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ func newDeployCmd(app *App) *cobra.Command {
1616
var shouldDelete bool
1717

1818
deploy := &cobra.Command{
19-
Use: "deploy <config>",
19+
Use: "deploy <config-file>",
2020
Short: "Deploy records from a config file",
2121
Long: `Deploys DNS records from a YAML config file by deleting existing records and
2222
creating new records.`,

cmd/print.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
func newPrintCmd(app *App) *cobra.Command {
1212
print := &cobra.Command{
13-
Use: "print",
13+
Use: "print <domain>",
1414
Short: "Print existing records",
1515
Args: cobra.ExactArgs(1),
1616
RunE: func(cmd *cobra.Command, args []string) error {

0 commit comments

Comments
 (0)