aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKylie McClain <kylie@somas.is>2020-07-13 00:58:25 -0400
committerKylie McClain <kylie@somas.is>2020-07-13 00:58:25 -0400
commitcd19113bce5ab372ddfe73da720c5218e3d5d362 (patch)
treee3529eeef57a1779111cb4b76a3ceba82fa55623
parent4999a60279cb0623fb27e0bf2cc3b1455dccd377 (diff)
downloadidioms-cd19113bce5ab372ddfe73da720c5218e3d5d362.tar.gz
idioms-cd19113bce5ab372ddfe73da720c5218e3d5d362.tar.xz
idioms-cd19113bce5ab372ddfe73da720c5218e3d5d362.zip
ratelimit(1): mention that TIME is passed to sleep(1)
-rw-r--r--ratelimit.1.adoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ratelimit.1.adoc b/ratelimit.1.adoc
index f20ddd2..8a586a8 100644
--- a/ratelimit.1.adoc
+++ b/ratelimit.1.adoc
@@ -11,7 +11,8 @@ ratelimit - limit how often a command can be ran
== Description
*ratelimit* creates a lock file, runs _COMMAND_ as a child, waits the _TIME_ given to elapse, and
-then removes the lock file.
+then removes the lock file. _TIME_ is simply passed to sleep(1), so it supports whatever format
+sleep(1) uses.
If, during the wait period, *ratelimit* is ran again with the same arguments, it will not run the
command and will instead exit 100.