Skip to content

Commit 764b063

Browse files
Zhirang GuoJuergenReppSIT
authored andcommitted
man tpm2_getrandom: add missing --hex parameter in example
The example demonstrating hex output was missing the --hex flag, which would cause the command to output binary data instead of the intended hexadecimal format. Signed-off-by: Zhirang Guo <jonny_guo@apple.com>
1 parent 95fdaa6 commit 764b063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

man/tpm2_getrandom.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ tpm2_getrandom -o random.out 20
7676

7777
## Generate a random 8 bytes and output the hex formatted data to stdout
7878
```bash
79-
tpm2_getrandom 8
79+
tpm2_getrandom 8 --hex
8080
```
8181

8282
[returns](common/returns.md)

0 commit comments

Comments
 (0)