FS#27258 - [pacman-contrib] Display help message with 'paclist -h'.
Attached to Project:
Pacman
Opened by Karol Błażewicz (karol) - Saturday, 26 November 2011, 00:49 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 07 December 2011, 16:07 GMT
Opened by Karol Błażewicz (karol) - Saturday, 26 November 2011, 00:49 GMT
Last edited by Dan McGee (toofishes) - Wednesday, 07 December 2011, 16:07 GMT
|
Details
All the other scripts in pacman-contrib print some help when
invoked with '-h' switch, but paclist follows a different
convention:
[karol@black ~]$ paclist -h [karol@black ~]$ paclist paclist - List all packages installed from a given repo Usage: paclist <repo> Example: paclist testing Some scripts display help message when invoked w/o any arguments (e.g. bacman), but then paclog-pkglist needs no arguments and 'paclog-pkglist' just runs the script. I think establishing some conventions and unifying the behavior would be nice. |
This task depends upon
Closed by Dan McGee (toofishes)
Wednesday, 07 December 2011, 16:07 GMT
Reason for closing: Fixed
Additional comments about closing: commit 61ce2ca1b, thanks Lukas.
Wednesday, 07 December 2011, 16:07 GMT
Reason for closing: Fixed
Additional comments about closing: commit 61ce2ca1b, thanks Lukas.
Category: Packages: Testing -> Scripts & Tools
Reported Version: [-] -> 3.5.4
The thing is, 'paclist -h' works OK in pacman-contrib 3.5.2-1, but not in pacman-contrib 4.0.1-1
[1] http://mailman.archlinux.org/pipermail/pacman-dev/2011-December/014815.html