diff --git a/crates/nu-command/src/strings/char_.rs b/crates/nu-command/src/strings/char_.rs index 1a9c991a11..0884f40ec5 100644 --- a/crates/nu-command/src/strings/char_.rs +++ b/crates/nu-command/src/strings/char_.rs @@ -185,6 +185,11 @@ impl Command for Char { example: r#"char newline"#, result: Some(Value::test_string("\n")), }, + Example { + description: "List available characters", + example: r#"char --list"#, + result: None, + }, Example { description: "Output prompt character, newline and a hamburger menu character", example: r#"(char prompt) + (char newline) + (char hamburger)"#,