27 lines
359 B
Go
27 lines
359 B
Go
package main
|
|
|
|
import (
|
|
"flag"
|
|
"fmt"
|
|
"strings"
|
|
)
|
|
|
|
func main() {
|
|
num := flag.Int("n", 5, "# of iterations")
|
|
mysystems := flag.String("s", "jita,New Caldari", "comma-seperated list of systems")
|
|
flag.Parse()
|
|
|
|
n := *num
|
|
i := 0
|
|
|
|
for i < n {
|
|
fmt.Println("falcon")
|
|
i++
|
|
}
|
|
|
|
fmt.Println(*mysystems)
|
|
s := strings.Split(*mysystems, ",")
|
|
fmt.Println(s)
|
|
|
|
}
|