Commit Graph

19 Commits

Author SHA1 Message Date
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
classabbyamp
e0317cc6d7 data/_xbps: add xbps-uhelper getname, getversion to completions 2023-02-11 19:32:44 +01:00
meator
c4ede2c732 _xbps: add --list-repolock-pkgs for xbps-query 2022-02-18 21:34:24 +01:00
q66
9f10ee6f03 data/_xbps,_xbps_src: add ppc64+ppc(-musl) completions 2019-05-01 15:20:49 +02:00
q66
75dc5c6b06 _xbps, _xbps-src: add ppc64 completion
Closes: #42 [via git-merge-pr]
2019-03-22 21:36:08 +01:00
Christian Neukirchen
c255ede2ca _xbps: add run_depends to _xbps_properties. 2016-11-22 17:04:24 +01:00
Christian Neukirchen
392d686f07 _xbps: add alternatives and build-date to _xbps_properties. 2016-11-22 16:58:02 +01:00
Christian Neukirchen
7d06fb0e71 _xbps, _xbps-src: add aarch64 completion. 2016-09-17 17:37:04 +02:00
Steve Prybylski
5d9562237f _xbps: add --unpack-only/-U support for xbps-install. 2015-11-12 20:45:32 -05:00
Steve Prybylski
69c3f3b7ce _xbps: update zsh completion 2015-10-31 21:23:14 -04:00
Enno Boland
2a6b14ae74 Merge pull request #111 from Gottox/no-build-date
xbps-create: do not add a build-date property to packages.
2015-09-03 09:26:53 +02:00
Steve Prybylski
23d2dfccde _xbps: add argument to xbps-rindex zsh completion 2015-08-19 20:04:08 -04:00
Enno Boland
9de0d8a60d xbps-create: do not add a build-date property to packages. 2015-08-19 16:05:51 +02:00
Christian Neukirchen
1ac25a53c4 _xbps: update zsh completion. 2015-03-07 14:00:10 +01:00
Enno Boland
2fe65dccec rename xbps-packages to void-packages 2014-09-26 14:24:06 +02:00
Christian Neukirchen
21a4473f7a _xbps: drop use of sed 2014-09-17 18:56:17 +02:00
Christian Neukirchen
5cbfdd5c5c _xbps: complete properties 2014-09-17 18:56:17 +02:00
Christian Neukirchen
73935efeb7 _xbps: update zsh completion for 0.38 2014-09-15 12:24:02 +02:00
Christian Neukirchen
5f20520a95 Add zsh completion for xbps-* and xbps-src (from xbps-packages) 2014-07-22 17:50:58 +02:00