From defc2ca40c2adb33284dab8d5577561c37032d80 Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Mon, 11 Apr 2022 23:42:18 +0200 Subject: [PATCH] docs(cli): ipfs diag profile --- core/commands/profile.go | 2 +- core/commands/root.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/commands/profile.go b/core/commands/profile.go index ad0d73e647c..cddb19d0c4b 100644 --- a/core/commands/profile.go +++ b/core/commands/profile.go @@ -71,7 +71,7 @@ However, it could reveal: }, NoLocal: true, Options: []cmds.Option{ - cmds.StringOption(outputOptionName, "o", "The path where the output should be stored."), + cmds.StringOption(outputOptionName, "o", "The path where the output .zip should be stored. Default: ./ipfs-profile-[timestamp].zip"), cmds.StringOption(profileTimeOption, "The amount of time spent profiling. If this is set to 0, then sampling profiles are skipped.").WithDefault("30s"), cmds.IntOption(mutexProfileFractionOption, "The fraction 1/n of mutex contention events that are reported in the mutex profile.").WithDefault(4), cmds.StringOption(blockProfileRateOption, "The duration to wait between sampling goroutine-blocking events for the blocking profile.").WithDefault("1ms"), diff --git a/core/commands/root.go b/core/commands/root.go index 64b9b42fbf0..3fe31a8587a 100644 --- a/core/commands/root.go +++ b/core/commands/root.go @@ -67,13 +67,13 @@ NETWORK COMMANDS swarm Manage connections to the p2p network dht Query the DHT for values or peers ping Measure the latency of a connection - diag Print diagnostics bitswap Inspect bitswap state pubsub Send and receive messages via pubsub TOOL COMMANDS config Manage configuration version Show IPFS version information + diag Generate diagnostic reports update Download and apply go-ipfs updates commands List all available commands log Manage and show logs of running daemon