Skip to content

Commit

Permalink
fix: shed: default to LOTUS_PATH for repo
Browse files Browse the repository at this point in the history
  • Loading branch information
arajasek committed Feb 15, 2023
1 parent 29a82cd commit 4421fec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cmd/lotus-shed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ func main() {
Name: "log-level",
Value: "info",
},
&cli.StringFlag{
Name: "repo",
EnvVars: []string{"LOTUS_PATH"},
Hidden: true,
Value: "~/.lotus", // TODO: Consider XDG_DATA_HOME
},
},
Before: func(cctx *cli.Context) error {
return logging.SetLogLevel("lotus-shed", cctx.String("log-level"))
Expand Down

0 comments on commit 4421fec

Please sign in to comment.