Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Feb 2024 11:00:21 GMT
From:      Christos Margiolis <christos@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7bd14d09a92a - main - mixer.8: Fix wrong sentence
Message-ID:  <202402121100.41CB0L0X033277@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by christos:

URL: https://cgit.FreeBSD.org/src/commit/?id=7bd14d09a92a63f217ccee92e7fc9a1d6d60b387

commit 7bd14d09a92a63f217ccee92e7fc9a1d6d60b387
Author:     Christos Margiolis <christos@FreeBSD.org>
AuthorDate: 2024-02-12 10:59:16 +0000
Commit:     Christos Margiolis <christos@FreeBSD.org>
CommitDate: 2024-02-12 11:00:05 +0000

    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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402121100.41CB0L0X033277>