We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 80014f3 commit da46749Copy full SHA for da46749
cmd/dump/dump.go
@@ -72,7 +72,7 @@ func preRun(cmd *cobra.Command, args []string) (err error) {
72
func run(cmd *cobra.Command, args []string) (err error) {
73
var filename string
74
if len(args) > 0 {
75
- filename = args[1]
+ filename = args[0]
76
} else {
77
filename, err = Filename{
78
Dir: conf.Directory,
0 commit comments