10 lines
247 B
Bash
10 lines
247 B
Bash
# Build a `command-line-args` binary so that we have
|
|
# the expected program name.
|
|
$ go build command-line-arguments
|
|
|
|
|
|
$ ./command-line-arguments a b c d
|
|
[command-line-arguments a b c d]
|
|
[a b c d]
|
|
c
|