projects
/
lightning.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix some tests.
[lightning.git]
/
dump.go
diff --git
a/dump.go
b/dump.go
index c59f1d6ef392742d23e0ad2ee0ed8ab1f2ba1757..c1a9416b132c08525462ed0543c3412759de33ce 100644
(file)
--- a/
dump.go
+++ b/
dump.go
@@
-59,6
+59,8
@@
func (cmd *dump) run(prog string, args []string, stdin io.Reader, stdout, stderr
return nil
} else if err != nil {
return err
+ } else if flags.NArg() > 0 {
+ return fmt.Errorf("errant command line arguments after parsed flags: %v", flags.Args())
}
if *pprof != "" {