summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--share/man/just.1.md6
-rw-r--r--src/buildtool/main/cli.cpp1
2 files changed, 4 insertions, 3 deletions
diff --git a/share/man/just.1.md b/share/man/just.1.md
index de0cf605..504386ce 100644
--- a/share/man/just.1.md
+++ b/share/man/just.1.md
@@ -581,19 +581,19 @@ Supported by: analyse|build|install|rebuild|traverse.
**`--max-attempts`** *`NUM`*
If a remote procedure call (rpc) returns `grpc::StatusCode::UNAVAILABLE`, that
rpc is retried at most *`NUM`* times. (Default: 1, i.e., no retry).
-Supported by: analyse|build|install|rebuild|traverse.
+Supported by: analyse|build|describe|install|rebuild|traverse.
**`--initial-backoff-seconds`** *`NUM`*
Before retrying the second time, the client will wait the given amount of
seconds plus a jitter, to better distribute the workload. (Default: 1).
-Supported by: analyse|build|install|rebuild|traverse.
+Supported by: analyse|build|describe|install|rebuild|traverse.
**`--max-backoff-seconds`** *`NUM`*
From the third attempt (included) on, the backoff time is doubled at
each attempt, until it exceeds the `max-backoff-seconds`
parameter. From that point, the waiting time is computed as
`max-backoff-seconds` plus a jitter. (Default: 60)
-Supported by: analyse|build|install|rebuild|traverse.
+Supported by: analyse|build|describe|install|rebuild|traverse.
Remote serve options
--------------------
diff --git a/src/buildtool/main/cli.cpp b/src/buildtool/main/cli.cpp
index 39f0a17e..759c7124 100644
--- a/src/buildtool/main/cli.cpp
+++ b/src/buildtool/main/cli.cpp
@@ -35,6 +35,7 @@ auto SetupDescribeCommandArguments(
SetupExecutionEndpointArguments(app, &clargs->endpoint);
SetupCompatibilityArguments(app);
SetupDescribeArguments(app, &clargs->describe);
+ SetupRetryArguments(app, &clargs->retry);
}
/// \brief Setup arguments for sub command "just analyse".