Skip to content

Commit

Permalink
Minor refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
sei40kr committed Feb 7, 2019
1 parent 54eb78d commit 9b33079
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion def-matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,5 +86,6 @@ func main() {
defs = append(defs, ParseDef(line))
}

fmt.Printf("%s\n", MatchDef(defs, os.Args[1]))
command := os.Args[1]
fmt.Printf("%s\n", MatchDef(defs, command))
}

0 comments on commit 9b33079

Please sign in to comment.