Fixed switch, something is wrong with function call parameters.

This commit is contained in:
Marvin Blum
2015-10-21 22:48:03 +02:00
parent 7aa5691863
commit dfe02ecef1
6 changed files with 43 additions and 27 deletions

View File

@@ -9,10 +9,10 @@ import (
const version = "0.1"
func usage() {
fmt.Println("Usage: asl [-v|-r|-pretty] <input file/folder> [<output file/folder>]")
fmt.Println("Usage: asl [-v|-r|-pretty] <input file/folder> [<output file/folder>]\n")
fmt.Println("-v (optional) shows asl version")
fmt.Println("-r (optional) recursivly compile all asl files in folder")
fmt.Println("-pretty (optional) activates pretty printing")
fmt.Println("-pretty (optional) activates pretty printing\n")
fmt.Println("<input file/folder> file or directory to compile")
fmt.Println("<output file/folder> (optional) output file/folder, if not set, files will be created alongside their asl files")
}