From a733e56e0b599166715cdb2a43df921cbebf7d76 Mon Sep 17 00:00:00 2001 From: NotTheDr01ds <32344964+NotTheDr01ds@users.noreply.github.com> Date: Wed, 31 Jul 2024 16:24:41 -0400 Subject: [PATCH] Add negative lower-bound example --- crates/nu-command/src/random/int.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/nu-command/src/random/int.rs b/crates/nu-command/src/random/int.rs index bd1f4d2b08..c04e957bf4 100644 --- a/crates/nu-command/src/random/int.rs +++ b/crates/nu-command/src/random/int.rs @@ -59,8 +59,8 @@ impl Command for SubCommand { result: None, }, Example { - description: "Generate a random integer between 1 (inclusive) and 10 (inclusive)", - example: "random int 1..10", + description: "Generate a random integer between -10 (inclusive) and 10 (inclusive)", + example: "random int (-10)..10", result: None, }, ]