35 lines
924 B
Groff
35 lines
924 B
Groff
.ie \n(.g .ds Aq \(aq
|
|
.el .ds Aq '
|
|
.TH am-history 1 "history "
|
|
.SH NAME
|
|
history \- Search the command history (am and shell commands)
|
|
.SH SYNOPSIS
|
|
\fBhistory\fR [\fB\-\-kind\fR] [\fB\-\-cwd\fR] [\fB\-\-search\fR] [\fB\-\-failed\fR] [\fB\-\-session\fR] [\fB\-\-limit\fR] [\fB\-\-rerun\fR] [\fB\-h\fR|\fB\-\-help\fR]
|
|
.SH DESCRIPTION
|
|
Search the command history (am and shell commands)
|
|
.SH OPTIONS
|
|
.TP
|
|
\fB\-\-kind\fR \fI<KIND>\fR
|
|
Only commands of this kind (am or shell)
|
|
.TP
|
|
\fB\-\-cwd\fR \fI<DIR>\fR
|
|
Only commands run in this directory
|
|
.TP
|
|
\fB\-\-search\fR \fI<TEXT>\fR
|
|
Full\-text search in the command line
|
|
.TP
|
|
\fB\-\-failed\fR
|
|
Only failed commands
|
|
.TP
|
|
\fB\-\-session\fR \fI<ID>\fR
|
|
Only commands of this session
|
|
.TP
|
|
\fB\-\-limit\fR \fI<N>\fR [default: 100]
|
|
Maximum number of entries (default: 100)
|
|
.TP
|
|
\fB\-\-rerun\fR \fI<N>\fR
|
|
Re\-run the Nth most recent entry (with confirmation)
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
Print help
|