diff --git a/crates/nu-command/src/platform/input/input_.rs b/crates/nu-command/src/platform/input/input_.rs index 1f5956792f..b855a997bb 100644 --- a/crates/nu-command/src/platform/input/input_.rs +++ b/crates/nu-command/src/platform/input/input_.rs @@ -55,13 +55,13 @@ impl Command for Input { .named( "history-file", SyntaxShape::Filepath, - "Path to a file to read and write command history. This is a text file and will be created if it doesn't exist. Will be used as the selection list.", + "Path to a file to read and write command history. This is a text file and will be created if it doesn't exist. Will be used as the selection list. Implies `--reedline`.", None, ) .named( "max-history", SyntaxShape::Int, - "The maximum number of entries to keep in the history, defaults to $env.config.history.max_size.", + "The maximum number of entries to keep in the history, defaults to $env.config.history.max_size. Implies `--reedline`.", None, ) .switch("suppress-output", "don't print keystroke values", Some('s')) @@ -230,7 +230,7 @@ impl Command for Input { }, Example { description: "Get input from the user with history backed by a file, and assign to a variable", - example: "let user_input = (input --history-file ./history.txt)", + example: "let user_input = (input --reedline --history-file ./history.txt)", result: None, }, ]