Skip to content

Commit b522901

Browse files
committed
update storage attach allowTo usage
1 parent e362d47 commit b522901

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

cmd/lotus-miner/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ over time
101101
},
102102
&cli.StringSliceFlag{
103103
Name: "allow-to",
104-
Usage: "group names to which data from this path can be sent (allow all if not specified)",
104+
Usage: "path groups allowed to pull data from this path (allow all if not specified)",
105105
},
106106
},
107107
Action: func(cctx *cli.Context) error {

cmd/lotus-seal-worker/storage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ var storageAttachCmd = &cli.Command{
5757
},
5858
&cli.StringSliceFlag{
5959
Name: "allow-to",
60-
Usage: "group names to which data from this path can be sent (allow all if not specified)",
60+
Usage: "path groups allowed to pull data from this path (allow all if not specified)",
6161
},
6262
},
6363
Action: func(cctx *cli.Context) error {

documentation/en/cli-lotus-miner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1984,7 +1984,7 @@ OPTIONS:
19841984
--store (for init) use path for long-term storage (default: false)
19851985
--max-storage value (for init) limit storage space for sectors (expensive for very large paths!)
19861986
--groups value path group names
1987-
--allow-to value group names to which data from this path can be sent (allow all if not specified)
1987+
--allow-to value path groups allowed to pull data from this path (allow all if not specified)
19881988
--help, -h show help (default: false)
19891989
19901990
```

documentation/en/cli-lotus-worker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ OPTIONS:
9595
--store (for init) use path for long-term storage (default: false)
9696
--max-storage value (for init) limit storage space for sectors (expensive for very large paths!)
9797
--groups value path group names
98-
--allow-to value group names to which data from this path can be sent (allow all if not specified)
98+
--allow-to value path groups allowed to pull data from this path (allow all if not specified)
9999
--help, -h show help (default: false)
100100
101101
```

0 commit comments

Comments
 (0)