diff options
author | 2019-12-29 10:54:28 +0100 | |
---|---|---|
committer | 2019-12-29 10:54:28 +0100 | |
commit | 7cdf692beb93c596b4bf4f5f7b5bb8bcc69a27ea (patch) | |
tree | effaefccacb9f9aa4da276b101f788b11356d816 /applets.h | |
parent | qfile: make qfile_check_plibreg not trigger on an empty file (/) (diff) | |
download | portage-utils-7cdf692beb93c596b4bf4f5f7b5bb8bcc69a27ea.tar.gz portage-utils-7cdf692beb93c596b4bf4f5f7b5bb8bcc69a27ea.tar.bz2 portage-utils-7cdf692beb93c596b4bf4f5f7b5bb8bcc69a27ea.zip |
q: improve applet searching somewhat, change warn app name
- use a single loop iteration to match an applet
- set full name of applet (qlop iso lop) in argv0 for warn() to match
the running command
- use name of aliased applet when invoked by an alias (belongs -> qfile)
Bug: https://bugs.gentoo.org/701968
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'applets.h')
-rw-r--r-- | applets.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -102,7 +102,6 @@ static const struct applet_t { /*"glsa"*/ {"hasuse", quse_main, NULL, NULL}, /*"list"*/ - {"size", qsize_main, NULL, NULL}, /*"stats"*/ /*"uses"*/ /*"which"*/ |