GNOME Bugzilla – Bug 563907
Add --list-services option to list available services
Last modified: 2008-12-10 09:17:33 UTC
Some tools provide a --service option to specify the Tracker Service to search for. In order to let user know what services Tracker supports a --list-service could be a good idea. From mailing list (me and Martyn Russel) >> About this: are we fine whit this behavior (print hardcoded(!) services >> on --help), or could we add a --list-services option to each tool to >> dynamically list services supported by tracker? Do we have a convenience >> function to list all services? > We don't. But that's something that all utilities could use - perhaps we > need some shared source there. I certainly think --list-services would > be a good idea. For some tools which require a service it makes sense to > print them in the description, for others, it makes sense to have a > command line argument to get a list.
We have a "tracker-services" tool to ask tracker the available services and properties. In the man pages of the tools, we suggest to use that tool to discover the services: -s ServiceType Specify the kind of the files you want to find. For more infor‐ mation on valid ServiceType see tracker-services(1). I think we can close this bug as "NOTABUG". Thanks anyway for the report.