diff options
author | Fabian Groffen <grobian@gentoo.org> | 2020-05-02 10:13:29 +0200 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2020-05-02 10:45:40 +0200 |
commit | 20844dc943700cca72bbb6896f42adcd30de41e3 (patch) | |
tree | 352baa760e74d11a611557b1c02b95cf45789aae | |
parent | TODO: add item about metadata queries for maintainer type (diff) | |
download | portage-utils-20844dc943700cca72bbb6896f42adcd30de41e3.tar.gz portage-utils-20844dc943700cca72bbb6896f42adcd30de41e3.tar.bz2 portage-utils-20844dc943700cca72bbb6896f42adcd30de41e3.zip |
qlop: silently drop -l when -d is used with -E
While -E defaults to -l (last merge), silently drop it when -d is used.
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rw-r--r-- | man/qlop.1 | 4 | ||||
-rw-r--r-- | qlop.c | 5 |
2 files changed, 5 insertions, 4 deletions
@@ -1,5 +1,5 @@ .\" generated by mkman.py, please do NOT edit! -.TH qlop "1" "Nov 2019" "Gentoo Foundation" "qlop" +.TH qlop "1" "May 2020" "Gentoo Foundation" "qlop" .SH NAME qlop \- emerge log analyzer .SH SYNOPSIS @@ -66,7 +66,7 @@ Show autoclean unmerge history. Show sync history. .TP \fB\-E\fR, \fB\-\-emerge\fR -Show last merge like how emerge(1) -v would show it. +Show last merge similar to how emerge(1) -v would show it. .TP \fB\-e\fR, \fB\-\-endtime\fR Report time at which the operation finished (iso started). @@ -58,7 +58,7 @@ static const char * const qlop_opts_help[] = { "Show unmerge history", "Show autoclean unmerge history", "Show sync history", - "Show last merge like how emerge(1) -v would show it", + "Show last merge similar to how emerge(1) -v would show it", "Report time at which the operation finished (iso started)", "Show current emerging packages", "Limit selection to this time (1st -d is start, 2nd -d is end)", @@ -1367,7 +1367,8 @@ int qlop_main(int argc, char **argv) /* handle -l / -d conflict */ if (start_time != 0 && m.show_lastmerge) { - warn("-l and -d cannot be used together, dropping -l"); + if (m.show_emerge) + warn("-l and -d cannot be used together, dropping -l"); m.show_lastmerge = 0; } |