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