23 lines
405 B
Go
23 lines
405 B
Go
package tools
|
|
|
|
import (
|
|
"fmt"
|
|
"os"
|
|
)
|
|
|
|
// exported function(s)
|
|
func PrintHelp() {
|
|
fmt.Println(
|
|
"usage:\n"+
|
|
" godyn [options] <mode>\n"+
|
|
"\n"+
|
|
" options:\n"+
|
|
" -h, --help display this help\n"+
|
|
" -c, --config specify the path to the config file",
|
|
"\n\n"+
|
|
" modes:\n"+
|
|
" -s, --server start godyn in server mode\n",
|
|
" -c, --client start gody in client mode",
|
|
)
|
|
os.Exit(0)
|
|
}
|