mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-11 07:24:46 +00:00
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: Marek Behún <kabel@kernel.org> Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
parent
f920257ac2
commit
528b6b817e
2 changed files with 4 additions and 4 deletions
|
@ -75,6 +75,6 @@ static int do_rng(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
|
|||
U_BOOT_CMD(
|
||||
rng, 3, 0, do_rng,
|
||||
"print bytes from the hardware random number generator",
|
||||
"list - list all the probed rng devices\n"
|
||||
"rng [dev] [n] - print n random bytes(max 64) read from dev\n"
|
||||
"list - list all probed rng devices\n"
|
||||
"rng [dev [n]] - print n random bytes (max 64) read from dev\n"
|
||||
);
|
||||
|
|
|
@ -12,14 +12,14 @@ Synopsis
|
|||
::
|
||||
|
||||
rng list
|
||||
rng [dev] [n]
|
||||
rng [dev [n]]
|
||||
|
||||
rng list
|
||||
--------
|
||||
|
||||
List all the probed rng devices.
|
||||
|
||||
rng [dev] [n]
|
||||
rng [dev [n]]
|
||||
-------------
|
||||
|
||||
The *rng* command reads the random number generator(RNG) device and
|
||||
|
|
Loading…
Add table
Reference in a new issue