Merge pull request #146 from terminalforlife/master

Fix Usage() & Possibly More...
pull/148/head
Igor Chubin 4 years ago committed by GitHub
commit e31a548a9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,23 @@
# apt-history
# Command-line tool to pretty-print and filter the APT log
# Filter log entries by installations made by user 'ichy'.
apt-history -u ichy -A Install
# Filter log entries by removals affecting the package 'firefox:amd64'
apt-history -A Remove -p firefox:amd64
# By default, `apt-history` paginates using less(1) or more(1), but this can be
# disabled with the `-P` flag. In this example, only log entries made by the
# current user will be displayed.
#
# Thanks to the `-r` flag, the output is reversed, meaning that the newest
# entries show last.
apt-history -r -u $USER -P
# You might prefer your packages to be listed out in a wrapped way, more like
# you'd see in the '/var/log/apt/history.log' file, without all of the version
# strings.
#
# Using the `-c` flag, this example will include the actual command executed.
apt-history -D Wrapped -c

@ -14,7 +14,7 @@ Usage(){
Usage: $Progrm [OPTS] [DIR_1 [DIR_2 ...]]
-h, --help - Display this help information.
-C, --no-color - Provide color via esscape sequences.
-C, --no-color - Do not use ANSI color escape sequences.
-D, --no-subdirs - Ignore the 'sheets/_*' subdirectories.
-I, --no-lenchk-line - Ignore the special 'lenchk=.*' line.
-N, --no-preview - Omit the preview of each triggered line.

Loading…
Cancel
Save