about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWu Zhenyu <wuzhenyu@ustc.edu>2024-01-11 22:03:52 +0800
committerMatthew Martin <phy1729@gmail.com>2024-01-14 13:48:51 -0600
commitdde12593db1d1ed83e985c8ca5e82fee2ad400be (patch)
treef521d1a8a15ec97591c0f4782e9204b961d7803b
parentd6e4ddd4d48b6ac9c0a29b95e0e2fc0e6012d725 (diff)
downloadzsh-dde12593db1d1ed83e985c8ca5e82fee2ad400be.tar.gz
zsh-dde12593db1d1ed83e985c8ca5e82fee2ad400be.tar.xz
zsh-dde12593db1d1ed83e985c8ca5e82fee2ad400be.zip
Fix a typo
$ valgrind --tool=massif --help | grep time-unit
    --time-unit=i|ms|B        time unit: instructions executed, milliseconds
-rw-r--r--ChangeLog5
-rw-r--r--Completion/Linux/Command/_valgrind2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c7e7786f..043539756 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2024-01-14  Matthew Martin  <phy1729@gmail.com>
+
+	* github #109: Wu Zhenyu: Completion/Linux/Command/_valgrind: Fix
+	a typo
+
 2024-01-05  Bart Schaefer  <schaefer@zsh.org>
 
 	* 52465: Doc/Zsh/contrib.yo, Functions/Misc/zmv: use NULL_GLOB
diff --git a/Completion/Linux/Command/_valgrind b/Completion/Linux/Command/_valgrind
index e1498be6d..5eaaea338 100644
--- a/Completion/Linux/Command/_valgrind
+++ b/Completion/Linux/Command/_valgrind
@@ -165,7 +165,7 @@ args_massif=(
   "--time-unit=-[specify time unit]:unit [i]:((
     i\:instructions\ executed
     ms\:milliseconds
-    b\:heap\ bytes\ alloc\'d/dealloc\'d
+    B\:heap\ bytes\ alloc\'d/dealloc\'d
   ))"
   '--detailed-freq=-[every Nth snapshot should be detailed]:snapshot interval [10]'
   '--max-snapshots=-[specofy maximum number of snapshots recorded]:maximum [100]'