tools:discoverer: Remove short name for use-cache

There is no need to add short name for 'use-cache'.
The 'async' option already has 'a' short name.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/716>
This commit is contained in:
Jimmy Ohn 2020-06-22 12:19:28 +09:00
parent 5726a66fdb
commit 00bcf9d3e2

View file

@ -637,7 +637,7 @@ main (int argc, char **argv)
GOptionEntry options[] = { GOptionEntry options[] = {
{"async", 'a', 0, G_OPTION_ARG_NONE, &async, {"async", 'a', 0, G_OPTION_ARG_NONE, &async,
"Run asynchronously", NULL}, "Run asynchronously", NULL},
{"use-cache", 'a', 0, G_OPTION_ARG_NONE, &use_cache, {"use-cache", 0, 0, G_OPTION_ARG_NONE, &use_cache,
"Use GstDiscovererInfo from our cache.", NULL}, "Use GstDiscovererInfo from our cache.", NULL},
{"print-cache-dir", 0, 0, G_OPTION_ARG_NONE, &print_cache_dir, {"print-cache-dir", 0, 0, G_OPTION_ARG_NONE, &print_cache_dir,
"Print the directory of the discoverer cache.", NULL}, "Print the directory of the discoverer cache.", NULL},