"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

+4 -4
+2 -2
cmd/rng.c
··· 75 75 U_BOOT_CMD( 76 76 rng, 3, 0, do_rng, 77 77 "print bytes from the hardware random number generator", 78 - "list - list all the probed rng devices\n" 79 - "rng [dev] [n] - print n random bytes(max 64) read from dev\n" 78 + "list - list all probed rng devices\n" 79 + "rng [dev [n]] - print n random bytes (max 64) read from dev\n" 80 80 );
+2 -2
doc/usage/cmd/rng.rst
··· 12 12 :: 13 13 14 14 rng list 15 - rng [dev] [n] 15 + rng [dev [n]] 16 16 17 17 rng list 18 18 -------- 19 19 20 20 List all the probed rng devices. 21 21 22 - rng [dev] [n] 22 + rng [dev [n]] 23 23 ------------- 24 24 25 25 The *rng* command reads the random number generator(RNG) device and