diff options
| author | Fuwn <[email protected]> | 2026-02-28 04:52:17 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-02-28 04:52:17 -0800 |
| commit | bb02fa43e5776e3d7b95cb47f0594eb4bd7f907f (patch) | |
| tree | 9d2e2f49c2e0cb9e153ca266d10b9b610e38c771 /cmd | |
| parent | build(task): add multi-arch docker build targets (diff) | |
| download | plutia-test-bb02fa43e5776e3d7b95cb47f0594eb4bd7f907f.tar.xz plutia-test-bb02fa43e5776e3d7b95cb47f0594eb4bd7f907f.zip | |
docs: refine user-facing wording for clarity and consistency
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/plutia/main.go | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cmd/plutia/main.go b/cmd/plutia/main.go index b6192f5..a3e8567 100644 --- a/cmd/plutia/main.go +++ b/cmd/plutia/main.go @@ -88,7 +88,7 @@ func main() { func runServe(args []string) error { fs := flag.NewFlagSet("serve", flag.ExitOnError) - configPath := fs.String("config", "config.default.yaml", "config path") + configPath := fs.String("config", "config.default.yaml", "path to config file") maxOps := fs.Uint64("max-ops", 0, "max operations to ingest in this process (0 = unlimited)") if err := fs.Parse(args); err != nil { @@ -175,7 +175,7 @@ func runServe(args []string) error { func runReplay(args []string) error { fs := flag.NewFlagSet("replay", flag.ExitOnError) - configPath := fs.String("config", "config.default.yaml", "config path") + configPath := fs.String("config", "config.default.yaml", "path to config file") maxOps := fs.Uint64("max-ops", 0, "max operations to ingest in this process (0 = unlimited)") if err := fs.Parse(args); err != nil { @@ -212,8 +212,8 @@ func runReplay(args []string) error { func runVerify(args []string) error { fs := flag.NewFlagSet("verify", flag.ExitOnError) - configPath := fs.String("config", "config.default.yaml", "config path") - did := fs.String("did", "", "did to verify") + configPath := fs.String("config", "config.default.yaml", "path to config file") + did := fs.String("did", "", "DID to verify") if err := fs.Parse(args); err != nil { return err @@ -243,7 +243,7 @@ func runVerify(args []string) error { func runSnapshot(args []string) error { fs := flag.NewFlagSet("snapshot", flag.ExitOnError) - configPath := fs.String("config", "config.default.yaml", "config path") + configPath := fs.String("config", "config.default.yaml", "path to config file") if err := fs.Parse(args); err != nil { return err @@ -271,7 +271,7 @@ func runSnapshot(args []string) error { func runBench(args []string) error { fs := flag.NewFlagSet("bench", flag.ExitOnError) - configPath := fs.String("config", "config.default.yaml", "config path") + configPath := fs.String("config", "config.default.yaml", "path to config file") maxOps := fs.Uint64("max-ops", 200000, "max operations to ingest for benchmark") interval := fs.Duration("interval", 10*time.Second, "rolling report interval") @@ -365,8 +365,8 @@ func runBench(args []string) error { func runCompare(args []string) error { fs := flag.NewFlagSet("compare", flag.ExitOnError) - configPath := fs.String("config", "config.default.yaml", "config path") - remote := fs.String("remote", "", "remote mirror base URL") + configPath := fs.String("config", "config.default.yaml", "path to config file") + remote := fs.String("remote", "", "base URL for remote mirror") if err := fs.Parse(args); err != nil { return err |