From 0a47a1fe680f447236b7c8dd42184f0e662a4877 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 14 Nov 2024 09:14:59 +0200 Subject: [PATCH] v.help: add topic for `v help retry` --- vlib/v/help/other/retry.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 vlib/v/help/other/retry.txt diff --git a/vlib/v/help/other/retry.txt b/vlib/v/help/other/retry.txt new file mode 100644 index 000000000..601243330 --- /dev/null +++ b/vlib/v/help/other/retry.txt @@ -0,0 +1,13 @@ +v retry 0.0.1 +----------------------------------------------- +Usage: v retry [options] CMD + +Description: Run the command CMD in a loop, until it succeeds, or until a predetermined amount of seconds pass. + +The arguments should be at least 1 in number. + +Options: + -h, --help Show this help screen. + -t, --timeout Timeout in seconds (for all retries). Default: 600.0 seconds (10 minutes). + -d, --delay Delay between each retry in seconds. Default: 1.0 second. + -r, --retries Maximum number of retries. Default: 10. -- 2.39.5