xbps/bin
classabbyamp 50fb2017d0 xbps-uhelper: add verbose output for cmpver/pkgmatch
I can never remember which retval means which thing. This only prints if
-v/--verbose is specified.

Examples:
```
$ ./bin/xbps-uhelper/xbps-uhelper -v cmpver 1 2 ; echo ret: $?
1 < 2
ret: 255
$ ./bin/xbps-uhelper/xbps-uhelper -v cmpver 1 1 ; echo ret: $?
1 = 1
ret: 0
$ ./bin/xbps-uhelper/xbps-uhelper -v cmpver 2 1 ; echo ret: $?
2 > 1
ret: 1
$ ./bin/xbps-uhelper/xbps-uhelper -v pkgmatch 'foo-1.0_1' 'foo>=0' ; echo ret: $?
foo-1.0_1 matches foo>=0
ret: 1
$ ./bin/xbps-uhelper/xbps-uhelper -v pkgmatch 'foo-1.0_1' 'foo<0.1_1' ; echo ret: $?
foo-1.0_1 does not match foo<0.1_1
ret: 0
```

it also seems that getting an error from pkgmatch is currently impossible
2023-06-01 20:21:57 +02:00
..
xbps-alternatives bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
xbps-checkvers bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
xbps-create bin/xbps-create/xbps-create.1: add --sourcepkg, alphabetise 2023-02-15 21:46:51 +01:00
xbps-dgraph manpages: small formatting improvements 2023-02-10 21:33:51 +01:00
xbps-digest bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
xbps-fbulk bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
xbps-fetch bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
xbps-install bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
xbps-pkgdb bin/xbps-pkgdb: use -errno values for error states 2023-05-30 21:20:05 +02:00
xbps-query bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
xbps-reconfigure manpages: small formatting improvements 2023-02-10 21:33:51 +01:00
xbps-remove bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
xbps-rindex bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
xbps-uchroot bin/: use xbps logging functions more 2023-02-11 14:23:51 +01:00
xbps-uhelper xbps-uhelper: add verbose output for cmpver/pkgmatch 2023-06-01 20:21:57 +02:00
xbps-uunshare manpages: small formatting improvements 2023-02-10 21:33:51 +01:00
Makefile xbps-fetch(1): new utility that replaces 'xbps-uhelper fetch'. 2019-06-12 18:07:24 +02:00