summaryrefslogtreecommitdiff
path: root/as/main.go
diff options
context:
space:
mode:
authorstefan <stefan@s00.xyz>2023-05-24 22:29:46 -0400
committerstefan <stefan@s00.xyz>2023-05-24 22:29:46 -0400
commit20621e073562ee5d423b636fae8b6aa8e38275fa (patch)
tree4a81bde039e58602e44a213cfb8d91a65f1dadd9 /as/main.go
parentba2b9c8a1bb1876b6eb4c9783fde798b19de4418 (diff)
downloadevm-20621e073562ee5d423b636fae8b6aa8e38275fa.tar.gz
readme and cleanup
Diffstat (limited to 'as/main.go')
-rw-r--r--as/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/as/main.go b/as/main.go
index 95aff46..6476dc2 100644
--- a/as/main.go
+++ b/as/main.go
@@ -6,7 +6,7 @@ import (
)
func usage(arg0 string) {
- fmt.Fprintf(os.Stderr, "usage: %s [-o file] file.easm\n", os.Args[0])
+ fmt.Fprintf(os.Stderr, "usage: %s [-o file] file.easm\n", arg0)
os.Exit(1)
}
@@ -20,7 +20,6 @@ func main() {
var ain int = 0
for i := 0; i < len(os.Args); i++ {
- fmt.Println(os.Args[i])
switch os.Args[i] {
case "-o":
i = i + 1