GNOME Bugzilla – Bug 563909
Canonicalize command line options
Last modified: 2009-01-07 15:49:30 UTC
As discussed on maling list, some command line option are using wrong option description. For example: -s, --service <description> should be -s, --service=STRING <description> The fist in fact says 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. Patches will come.
Created attachment 124306 [details] [review] Patch for tracker-files utility Produced output: -s, --service=STRING Search for specified service -l, --limit=NUMBER Set the total number of displayed results (default 512) -o, --offset=NUMBER Set the offset for displayed results (default 0) -m, --add-mime=STRING Search for specified MIME type (can be used multiple times) Additional stuff: * remove a duplicate locale.h * add translators comments for arguments * little changes in description (IMHO better, but please comment) * fix g_option_context_add_main_entries() (no custom translate_domain for this tool) Dunno: * NUMBER or INT ??
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report. Committed. Thanks for the patch!