rename --when to --interval
authorJoey Hess <joeyh@joeyh.name>
Tue, 14 Nov 2023 15:45:16 +0000 (11:45 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 14 Nov 2023 15:45:16 +0000 (11:45 -0400)
More accurately describes its behavior.

Command/Log.hs
doc/git-annex-log.mdwn

index 78190f28fb23f0f7c318d8fa9df86fd581de790a..3eba85040dce88c2c787d8c557bc36111452c5ad 100644 (file)
@@ -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"
index 5db94468fbd4d8e0044673fb19fa81bfc828c6ed..65636e5c9c26ea5483eaac7ae58c7c32a8227410 100644 (file)
@@ -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".