diff --git a/crates/nu-command/src/random/binary.rs b/crates/nu-command/src/random/binary.rs index d6666cbf6e..57fd8b01a7 100644 --- a/crates/nu-command/src/random/binary.rs +++ b/crates/nu-command/src/random/binary.rs @@ -12,9 +12,9 @@ impl Command for SubCommand { fn signature(&self) -> Signature { Signature::build("random binary") - .input_output_types(vec![(Type::Nothing, Type::String)]) + .input_output_types(vec![(Type::Nothing, Type::Binary)]) .allow_variants_without_examples(true) - .required("length", SyntaxShape::Int, "Number of bytes") + .required("length", SyntaxShape::Int, "Length of the output binary.") .category(Category::Random) }