This commit is contained in:
dm
2015-12-03 19:33:19 -08:00
parent 5cafc32292
commit 9536908ab8
4 changed files with 75 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package main
import (
"fmt"
"os"
"strings"
)
func main() {
fmt.Printf("command: %s\n", os.Args[0])
fmt.Printf("args: %s\n", strings.Join(os.Args[1:], " "))
}