projects
/
lightning.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
No issue #
[lightning.git]
/
exportnumpy.go
diff --git
a/exportnumpy.go
b/exportnumpy.go
index 050f3161bfaac798016802884856f93a6f37903c..698180b7545664ad53ce2e6002032b802fde4f5c 100644
(file)
--- a/
exportnumpy.go
+++ b/
exportnumpy.go
@@
-62,6
+62,9
@@
func (cmd *exportNumpy) RunCommand(prog string, args []string, stdin io.Reader,
return 0
} else if err != nil {
return 2
return 0
} else if err != nil {
return 2
+ } else if flags.NArg() > 0 {
+ err = fmt.Errorf("errant command line arguments after parsed flags: %v", flags.Args())
+ return 2
}
if *pprof != "" {
}
if *pprof != "" {