Il giorno mar, 09/12/2008 alle 18.24 +0000, Martyn Russell ha scritto:

> > 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.

http://bugzilla.gnome.org/show_bug.cgi?id=563907
Add --list-services option to list available services

> > The message showed by --help is useful for a brief explanation about
> > usage and to list the **correct syntax**.
> >
> > If you print out (as tracker is currently doing) something like:
> >
> >          # tracker-tool --help
> >          Usage: tracker-tool [OPTION] DIRECTORY
> >
> >          -s, --service    Service to search for
> >
> > you are saying that the --service option don't want any argument, i.e.
> > that `tracker-tool --service ~/Downloads` is valid, while `tracker-tool
> > --service=Music ~/Downloads` not. This is of course wrong.
> 
> Yes, I realise that now actually. Good point.

http://bugzilla.gnome.org/show_bug.cgi?id=563909
Canonicalize command line options
(first patch against tracker-files available, other will come after we
choose the proper "style")

_______________________________________________
tracker-list mailing list
tracker-list@gnome.org
http://mail.gnome.org/mailman/listinfo/tracker-list

Reply via email to