Apache OpenOffice (AOO) Bugzilla – Issue 79834
unopkg list --version should print version information of installed extensions
Last modified: 2013-08-07 15:31:14 UTC
Currently the result is: [autojsk@tazman program]$ ./unopkg list --version ERROR: unexpected option --version! Use unopkg --help (short -h) to print all options. Which is perfectly ok - according to the spec. but this is a) unintuitive b) an easy, human readable way of retrieving the versions of the installed extensions is missing anyway.
This may be implemented in the future when there is real demand for it.
The version is already printed when running unopkg list. If a version is not supported then the string "Version:" does not appear at all. This could be changed. Also one could prevent printing out information about all contents of an extension unless --verbose is used.
I reject the additional --version switch. When using list with out --verbose then for every extension should only be printed: Name Version Enabled/Disabled There could be at the end: Summary: x extensions installed
*** Issue 79832 has been marked as a duplicate of this issue. ***
As name we should use the - display name (oxt only) if it is not provided, then - identifier (oxt only) if it is not provided, then - file name Don't forget to update the spec!
.
Retargeting to 3.x.