diff options
author | Matt Housh <jaeger@crux.ninja> | 2020-10-13 09:44:00 -0500 |
---|---|---|
committer | Matt Housh <jaeger@crux.ninja> | 2020-10-13 09:44:00 -0500 |
commit | ac030e3530d3e029d2bcb501ed1edabd84e7f1d9 (patch) | |
tree | f03f70a84e8fd74a496c0c0d5ee75e0d0f247cb0 /src | |
parent | 8f9a1254ff49aa4234af67af8298dae4cce139f6 (diff) | |
download | prt-get-ac030e3530d3e029d2bcb501ed1edabd84e7f1d9.tar.gz prt-get-ac030e3530d3e029d2bcb501ed1edabd84e7f1d9.tar.xz |
Added a regex fix for listinst, updated to version 5.19.4v5.19.4
Diffstat (limited to 'src')
-rw-r--r-- | src/prtget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/prtget.cpp b/src/prtget.cpp index 89cea8d..8d983c8 100644 --- a/src/prtget.cpp +++ b/src/prtget.cpp @@ -524,7 +524,8 @@ void PrtGet::listInstalled() { assertMaxArgCount(1); - string arg = "*"; + string arg = m_useRegex ? ".*" : "*"; + if ( m_parser->otherArgs().size() == 1 ) { arg = *(m_parser->otherArgs().begin()); } |