Initialize flags to support extra flags

Signed-off-by: Dave Chen <dave.chen@arm.com>
This commit is contained in:
Dave Chen 2019-08-16 14:05:21 +08:00
parent 377104418d
commit 129fa77aae

View File

@ -44,6 +44,7 @@ const (
)
func main() {
klog.InitFlags(nil)
flag.Usage = func() {
fmt.Fprintf(os.Stderr, "Usage: %s [FLAG]... [PROFILE_DIR]...\n", os.Args[0])
fmt.Fprintf(os.Stderr, "Load the AppArmor profiles specified in the PROFILE_DIR directories.\n")