forked from samhunter/recentxx
parent
6a1f48d5f9
commit
0f5443a898
@ -0,0 +1,25 @@
|
||||
BINARY := recent++
|
||||
PREFIX := /usr/local
|
||||
EXEC_PREFIX := ${PREFIX}
|
||||
BINDIR := ${EXEC_PREFIX}/bin
|
||||
DATAROOTDIR := ${PREFIX}/share
|
||||
MANDIR := ${DATAROOTDIR}/man
|
||||
MAN1DIR := ${MANDIR}/man1
|
||||
|
||||
.PHONY: install
|
||||
install: install-bin install-man clean
|
||||
|
||||
.PHONY: install-bin
|
||||
install-bin:
|
||||
install -d ${DESTDIR}${BINDIR}
|
||||
install -m 0755 ./${BINARY} ${DESTDIR}${BINDIR}
|
||||
|
||||
.PHONY: install-man
|
||||
install-man: ${BINARY}.1
|
||||
gzip -k ./${BINARY}.1
|
||||
install -d ${DESTDIR}${MAN1DIR}
|
||||
install -m 0644 ./${BINARY}.1.gz ${DESTDIR}${MAN1DIR}
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
rm -f ./${BINARY}.1.gz 2> /dev/null
|
@ -0,0 +1,64 @@
|
||||
.TH "recent++" 1 "06 MAY 2022" "" "General Operation Manual"
|
||||
.SH NAME
|
||||
\fBrecent++\fP - Python rewrite of the venerable "recent" utility for RTC
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
.fam C
|
||||
\fBrecent++\fP [\fIoptions\fP]
|
||||
.fam T
|
||||
.fi
|
||||
|
||||
.SH DESCRIPTION
|
||||
\fBrecent++\fP shows updates of various user services.
|
||||
|
||||
.SH OPTIONS
|
||||
.B
|
||||
\fB-h, --help\fP
|
||||
show this help message and exit
|
||||
.TP
|
||||
.B
|
||||
\fB-c, --compatible\fP
|
||||
Emulates behaviour of the standard 'recent'
|
||||
.TP
|
||||
.B
|
||||
\fB-e, --exitcode\fP
|
||||
Returns RC>1 if no changes since the last check. No display.
|
||||
.TP
|
||||
.B
|
||||
\fB-m, --mark\fP
|
||||
Set 'read' marker to current time.
|
||||
.B
|
||||
.SH FILTERING SWITCHES
|
||||
.B
|
||||
\fB-u USER, --user USER\fP
|
||||
Comma separated list of usernames to include in the report
|
||||
.TP
|
||||
.B
|
||||
\fB-U USER, --exclude-user USER\fP
|
||||
Comma separated list of usernames to exclude in the report
|
||||
.TP
|
||||
.B
|
||||
\fB-s SERVICE, --service SERVICE\fP
|
||||
Comma separated list of services to include in the report
|
||||
.TP
|
||||
.B
|
||||
\fB-S SERVICE, --exclude-service SERVICE\fP
|
||||
Comma separated list of services to exclude in the report
|
||||
.TP
|
||||
.B
|
||||
\fB--since TIME\fP
|
||||
Show items newer than TIME, provided in Unix time format
|
||||
.B
|
||||
.SH FILES & SYSTEM VARS
|
||||
.TP
|
||||
None
|
||||
.SH BUGS
|
||||
.TP
|
||||
Yes.
|
||||
.SH LINKS
|
||||
.TP
|
||||
Source Code Repository
|
||||
https://git.rawtext.club/samhunter/recentxx
|
||||
.SH AUTHORS
|
||||
\fBrecent++\fP is developed by samhunter
|
||||
.TP
|
Loading…
Reference in new issue