From 21e66ce209af75bcc4c7c571c45e12341d136533 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 14 Nov 2023 11:45:16 -0400 Subject: [PATCH] rename --when to --interval More accurately describes its behavior. --- Command/Log.hs | 4 ++-- doc/git-annex-log.mdwn | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Command/Log.hs b/Command/Log.hs index 78190f28fb..3eba85040d 100644 --- a/Command/Log.hs +++ b/Command/Log.hs @@ -80,8 +80,8 @@ optParser desc = LogOptions <> help "display history of total sizes of all repositories" ) <*> optional (option (eitherReader parseDuration) - ( long "when" <> metavar paramTime - <> help "when to display changed size" + ( long "interval" <> metavar paramTime + <> help "minimum time between displays of changed size" )) <*> switch ( long "raw-date" diff --git a/doc/git-annex-log.mdwn b/doc/git-annex-log.mdwn index 5db94468fb..65636e5c9c 100644 --- a/doc/git-annex-log.mdwn +++ b/doc/git-annex-log.mdwn @@ -61,11 +61,11 @@ false, information may not have been committed to the branch yet. This is like `--sizesof`, but it displays the total size of all known repositories. -* `--when=time` +* `--interval=time` When using `--sizesof`, `--sizes`, and `--totalsizes`, this - controls how often to display the size. The default is to - display each change to the size. + controls the minimum interval between displays of the size. + The default is to display each recorded change to the size. The time is of the form "30d" or "1y".