From c865b1dc900ae17157429e3c3f746e71b4fcefa8 Mon Sep 17 00:00:00 2001 From: Andrej Kolchin Date: Mon, 5 Aug 2024 19:18:10 +0300 Subject: [PATCH] Fix signature --- crates/nu-command/src/random/binary.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) }