]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
src/bin/diffman: Use diff(1) labels for nicer output
authorAlejandro Colomar <alx@kernel.org>
Sun, 5 Jan 2025 15:14:59 +0000 (16:14 +0100)
committerAlejandro Colomar <alx@kernel.org>
Sun, 5 Jan 2025 17:07:05 +0000 (18:07 +0100)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/bin/diffman

index 12bad62e7e9e2429fb9fff5d0fb434bda03dae90..1704f9a65790d7a3ddaf635e1fd70daa13093041 100755 (executable)
@@ -57,4 +57,4 @@ man "$2" >"$t2";
 opts=($s $w $u);
 
 
-diff "${opts[@]}" "$t1" "$t2";
+diff --label "$1" --label "$2" "${opts[@]}" "$t1" "$t2";