Skip to content
Snippets Groups Projects
Commit 528b6b81 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

cmd/rng: fix long help text


The number of bytes may only be specified if a device number id provided.

Correct the formatting.

Acked-by: default avatarMarek Behún <kabel@kernel.org>
Signed-off-by: default avatarHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
parent f920257a
No related branches found
No related tags found
No related merge requests found
...@@ -75,6 +75,6 @@ static int do_rng(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[]) ...@@ -75,6 +75,6 @@ static int do_rng(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
U_BOOT_CMD( U_BOOT_CMD(
rng, 3, 0, do_rng, rng, 3, 0, do_rng,
"print bytes from the hardware random number generator", "print bytes from the hardware random number generator",
"list - list all the probed rng devices\n" "list - list all probed rng devices\n"
"rng [dev] [n] - print n random bytes(max 64) read from dev\n" "rng [dev [n]] - print n random bytes (max 64) read from dev\n"
); );
...@@ -12,14 +12,14 @@ Synopsis ...@@ -12,14 +12,14 @@ Synopsis
:: ::
rng list rng list
rng [dev] [n] rng [dev [n]]
rng list rng list
-------- --------
List all the probed rng devices. List all the probed rng devices.
rng [dev] [n] rng [dev [n]]
------------- -------------
The *rng* command reads the random number generator(RNG) device and The *rng* command reads the random number generator(RNG) device and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment