Skip to content

Commit

Permalink
fix: invalid home dir
Browse files Browse the repository at this point in the history
  • Loading branch information
igoogolx committed Jul 29, 2023
1 parent 98be387 commit 8c7c70a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ var (
func main() {
flag.BoolVar(&version, "version", false, "Print version")
flag.IntVar(&port, "port", constants.DefaultHubPort, "Running port, default:9000")
flag.StringVar(&homeDir, "home-dir", "", "Config dir, default: current dir")
flag.StringVar(&homeDir, "home_dir", "", "Config dir, default: current dir")
flag.Parse()

if homeDir != "" {
Expand Down

0 comments on commit 8c7c70a

Please sign in to comment.