libopkg: add option to strip ABI versions from listed names
authorDaniel Golle <daniel@makrotopia.org>
Sun, 14 Mar 2021 22:28:05 +0000 (22:28 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 14 Mar 2021 22:50:41 +0000 (22:50 +0000)
commitd3a63b327383a2ac1a8f925a58a2f6a7808f5181
tree881ce5520a0fe9140bc5f0df51e7fc0cbe355e82
parentd71856a4f137dc9fb890c5e777790e2c51fde921
libopkg: add option to strip ABI versions from listed names

Listing packages without the ABI versions appended to their names is
needed in some situations. Add a new command line option '--strip-abi'
for that which affects the 'list' and 'list-installed' command.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
libopkg/opkg_cmd.c
libopkg/opkg_conf.c
libopkg/opkg_conf.h
src/opkg-cl.c