This commit is contained in:
Raúl Kripalani
2021-07-29 12:56:08 +01:00
parent d9c6a32b8e
commit 3b2c3a3f6b
2 changed files with 8 additions and 8 deletions
+5 -5
View File
@@ -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",
@@ -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.