projects
/
lightning.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Check for unparsed command line args.
[lightning.git]
/
diff.go
diff --git
a/diff.go
b/diff.go
index 4a328ac75600645b934cd4a9b972fa83c06273b1..4999643e998e09d0fb9bf387e364c1be494acc6e 100644
(file)
--- a/
diff.go
+++ b/
diff.go
@@
-35,8
+35,7
@@
func (cmd *diffFasta) RunCommand(prog string, args []string, stdin io.Reader, st
return 0
} else if err != nil {
return 2
- }
- if len(flags.Args()) != 2 {
+ } else if len(flags.Args()) != 2 {
err = fmt.Errorf("usage: %s [options] a.fasta b.fasta", prog)
return 2
}