From 0e0ea96d19af39965a623c1b3cfdbd7c64812e41 Mon Sep 17 00:00:00 2001 From: Tim Nieradzik Date: Sat, 3 May 2025 13:20:29 +0300 Subject: [PATCH] docs: fix available fields in `history import` command - The ID field cannot be set (see `item_from_record`) - Fix command line's field name --- crates/nu-cli/src/commands/history/history_import.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/nu-cli/src/commands/history/history_import.rs b/crates/nu-cli/src/commands/history/history_import.rs index 80237acb87..bf394620c2 100644 --- a/crates/nu-cli/src/commands/history/history_import.rs +++ b/crates/nu-cli/src/commands/history/history_import.rs @@ -26,7 +26,7 @@ impl Command for HistoryImport { fn extra_description(&self) -> &str { r#"Can import history from input, either successive command lines or more detailed records. If providing records, available fields are: - command_line, id, start_timestamp, hostname, cwd, duration, exit_status. + command, start_timestamp, hostname, cwd, duration, exit_status. If no input is provided, will import all history items from existing history in the other format: if current history is stored in sqlite, it will store it in plain text and vice versa.