summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAndrej Kolchin <KAAtheWise@protonmail.com>2024-08-06 14:18:49 +0300
committerGitHub <noreply@github.com>2024-08-06 13:18:49 +0200
commiteca2975b3dba3f6226b7df9ae0fafb7509cc9c8f (patch)
tree208bc6c74f36f7e239d4165e6d10f33fa8751453 /crates
parent1cd0544a3f76ec8b26b136e9f824fbfa1ca1266d (diff)
Fix a typo in an example (#13548)
Accidentally used the old name of the command, `random bytes`, instead of the correct one. Co-authored-by: Andrej KolĨin <self@kaathewise.net>
Diffstat (limited to 'crates')
-rw-r--r--crates/nu-command/src/random/binary.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/nu-command/src/random/binary.rs b/crates/nu-command/src/random/binary.rs
index 57fd8b01a..aacab071a 100644
--- a/crates/nu-command/src/random/binary.rs
+++ b/crates/nu-command/src/random/binary.rs
@@ -45,7 +45,7 @@ impl Command for SubCommand {
fn examples(&self) -> Vec<Example> {
vec![Example {
description: "Generate 16 random bytes",
- example: "random bytes 16",
+ example: "random binary 16",
result: None,
}]
}