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 f82f2aa..20ac3f7 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"
 );