tools:discoverer: Remove short name for use-cache
authorJimmy Ohn <yongjin.ohn@lge.com>
Mon, 22 Jun 2020 03:19:28 +0000 (12:19 +0900)
committerJimmy Ohn <yongjin.ohn@lge.com>
Mon, 22 Jun 2020 08:52:20 +0000 (17:52 +0900)
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>

tools/gst-discoverer.c

index 24de51f..5bd27ac 100644 (file)
@@ -637,7 +637,7 @@ main (int argc, char **argv)
   GOptionEntry options[] = {
     {"async", 'a', 0, G_OPTION_ARG_NONE, &async,
         "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},
     {"print-cache-dir", 0, 0, G_OPTION_ARG_NONE, &print_cache_dir,
         "Print the directory of the discoverer cache.", NULL},