🏃 🤫 📚
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
355 B

2 years ago
package main
import (
"flag"
2 years ago
"fmt"
"os"
2 years ago
)
const help = `go-sh-manymanuals: ???
???
Options:
-h output help
`
var portFlag int
var helpFlag bool
func handleCliFlags() {
flag.BoolVar(&helpFlag, "h", false, "output help")
flag.Parse()
}
2 years ago
func main() {
handleCliFlags()
if helpFlag {
fmt.Printf(help)
os.Exit(0)
}
fmt.Printf("???")
2 years ago
}