Skip to content

Commit

Permalink
polish.
Browse files Browse the repository at this point in the history
  • Loading branch information
raulk committed Jul 29, 2021
1 parent d9c6a32 commit 3b2c3a3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions cli/util/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ const (
metadataTraceContext = "traceContext"
)

// The flags passed on the command line with the listen address of the API
// server (only used by the tests), in the order of precedence they should be
// applied for the requested kind of node.
// flagsForAPI returns flags passed on the command line with the listen address
// of the API server (only used by the tests), in the order of precedence they
// should be applied for the requested kind of node.
func flagsForAPI(t repo.RepoType) []string {
switch t {
case repo.FullNode:
Expand Down
10 changes: 5 additions & 5 deletions cmd/lotus-miner/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ func main() {
}

app := &cli.App{
Name: "lotus-miner",
Usage: "Filecoin decentralized storage network miner",
Version: build.UserVersion(),
Commands: append(local, lcli.CommonCommands...),
Name: "lotus-miner",
Usage: "Filecoin decentralized storage network miner",
Version: build.UserVersion(),
EnableBashCompletion: true,
Flags: []cli.Flag{
&cli.StringFlag{
Name: "actor",
Expand Down Expand Up @@ -112,7 +112,7 @@ func main() {
},
cliutil.FlagVeryVerbose,
},
EnableBashCompletion: true,
Commands: append(local, lcli.CommonCommands...),
Before: func(c *cli.Context) error {
// this command is explicitly called on markets, inform
// common commands by overriding the repoType.
Expand Down

0 comments on commit 3b2c3a3

Please sign in to comment.