From 7bd14d09a92a63f217ccee92e7fc9a1d6d60b387 Mon Sep 17 00:00:00 2001 From: Christos Margiolis Date: Mon, 12 Feb 2024 12:59:16 +0200 Subject: [PATCH] mixer.8: Fix wrong sentence 246e0457d93071ffd901c78e3ee7badc5f51bd4c ("mixer.8: Add terse example for increasing volume") mentions that the example changes the volume of the "first mixer found", while the example shows how the change the volume of the current mixer's "vol" device. Re-phrease sentence to reflect the actual behavior of the command. Also, improve the example by using the % operator, instead of hardcoding 0.05. Sponsored by: The FreeBSD Foundation MFC after: 2 weeks Reviewed by: dev_submerge.ch, markj Differential Revision: https://reviews.freebsd.org/D43795 --- usr.sbin/mixer/mixer.8 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/mixer/mixer.8 b/usr.sbin/mixer/mixer.8 index 5750b81c98c5..db0ec5f23a0c 100644 --- a/usr.sbin/mixer/mixer.8 +++ b/usr.sbin/mixer/mixer.8 @@ -223,11 +223,11 @@ List all available audio devices in the system: $ mixer -a | grep ^pcm .Ed .Pp -Increase the volume for the +Increase the .Cm vol -device of the first mixer found by 5%: +device's volume by 5%: .Bd -literal -offset indent -$ mixer vol=+0.05 +$ mixer vol=+5% .Ed .Pp Change the volume for the