docs: document the available format options of History list command (#1234)

This commit is contained in:
Dieter Eickstaedt 2023-09-17 17:57:10 +02:00 committed by GitHub
parent c091f2f95a
commit 8b815e4b39
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,7 +51,7 @@ pub enum Cmd {
#[arg(long)]
cmd_only: bool,
/// Available variables: {command}, {directory}, {duration}, {user}, {host} and {time}.
/// Available variables: {command}, {directory}, {duration}, {user}, {host}, {exit} and {time}.
/// Example: --format "{time} - [{duration}] - {directory}$\t{command}"
#[arg(long, short)]
format: Option<String>,