Bug 210492

Summary: ports-mgmt/pkg: pkg version -L/-l cannot accept multiple characters
Product: Ports & Packages Reporter: Martin S. Weber <freebsd-bugzilla>
Component: Individual Port(s)Assignee: freebsd-pkg mailing list <pkg>
Status: New ---    
Severity: Affects Only Me CC: w.schwarzenfeld
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Martin S. Weber 2016-06-23 13:20:59 UTC
pkg version -l limchar
pkg version -L limchar

both are perfect candidates for accepting multiple "limchar"s, like portversion -L supports as well.

Sadly using the option multiple times with a single limchar each only has pkg-version pick up the latest option (portversion doesn't do this better either)
Comment 1 Walter Schwarzenfeld freebsd_triage 2016-08-05 04:14:50 UTC
E.g. simple this:
pkg version -l"=" && pkg version -l">"