File tree 1 file changed +7
-1
lines changed
1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package main
3
3
import (
4
4
"context"
5
5
"flag"
6
+ "fmt"
6
7
_ "github.com/go-sql-driver/mysql"
7
8
"github.com/google/uuid"
8
9
"github.com/icinga/icinga-go-library/config"
@@ -56,7 +57,12 @@ func main() {
56
57
pflag .CommandLine .AddGoFlagSet (flag .CommandLine )
57
58
58
59
pflag .BoolVar (& showVersion , "version" , false , "print version and exit" )
59
- pflag .StringVar (& glue .Config , "config" , daemon .DefaultConfigPath , "path to the config file" )
60
+ pflag .StringVar (
61
+ & glue .Config ,
62
+ "config" ,
63
+ daemon .DefaultConfigPath ,
64
+ fmt .Sprintf ("path to the config file (default: %s)" , daemon .DefaultConfigPath ),
65
+ )
60
66
pflag .StringVar (& clusterName , "cluster-name" , "" , "name of the current cluster" )
61
67
62
68
loadingRules := kclientcmd .NewDefaultClientConfigLoadingRules ()
You can’t perform that action at this time.
0 commit comments