docs: fix available fields in history import command (#15686)

- The ID field cannot be set (see `item_from_record`)
- Fix command line's field name
This commit is contained in:
Tim Nieradzik 2025-05-03 16:09:58 +03:00 committed by GitHub
parent 8f63db4c95
commit acc152564c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.