Commit f2828baa authored by Hugo Moreau's avatar Hugo Moreau
Browse files

Formula tools: typo in function name

`Formuala` function renamed to `Formula` function.

 * main.go,
   tools/formulae.go : Modified.
parent 2d087c6f
......@@ -637,7 +637,7 @@ func main() {
if *ignorefunc != "" {
if *formulae == "" && len(flag.Args()) >= 2 && *ignorefunc == "auto" {
*ignorefunc = tools.Formuala(flag.Args()[0], flag.Args()[1])
*ignorefunc = tools.Formula(flag.Args()[0], flag.Args()[1])
}
var unspacify = regexp.MustCompile(` *`)
s := unspacify.ReplaceAllString(*ignorefunc, "")
......
......@@ -9,7 +9,7 @@ import (
"strings"
)
func Formuala(inputfile, formula string) string {
func Formula(inputfile, formula string) string {
src, err := ioutil.ReadFile(inputfile)
if err != nil {
fmt.Println(os.Stderr, err)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment