20 lines
296 B
Go
20 lines
296 B
Go
|
package tools
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
// exported function(s)
|
||
|
func PrintHelp() {
|
||
|
fmt.Println(
|
||
|
"usage:\n" +
|
||
|
" badger [options]\n" +
|
||
|
"\n" +
|
||
|
" options:\n" +
|
||
|
" -h, --help display this help\n" +
|
||
|
" -c, --config specify the path to the config file",
|
||
|
)
|
||
|
os.Exit(0)
|
||
|
}
|