]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: fix long text for sound command
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sun, 4 Dec 2022 15:33:07 +0000 (16:33 +0100)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 5 Dec 2022 16:43:21 +0000 (17:43 +0100)
Make it clear that if only 1 parameter is provided this is the duration.

The ISO symbol for hertz is Hz.

Fixes: c0c88533fffd ("Sound: Add command for audio playback")
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/sound.c

index f82f2aa67087d04daa19e142d087bffa1ac9fce5..20ac3f758e3442353974d8f97acb476a8776e604 100644 (file)
@@ -86,5 +86,5 @@ U_BOOT_CMD(
        sound, 4, 1, do_sound,
        "sound sub-system",
        "init - initialise the sound driver\n"
-       "sound play [len] [freq] - play a sound for len ms at freq hz\n"
+       "sound play [len [freq]] - play a sound for len ms at freq Hz\n"
 );