[totem/wip/hadess/version-option: 4/4] main: Make --version option public



commit 54e8a5c8c5e365637b3982ed22d008f351504af0
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jul 12 11:08:38 2019 +0200

    main: Make --version option public
    
    Closes: #336

 src/totem-options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/totem-options.c b/src/totem-options.c
index 72059ab28..06d7cb75d 100644
--- a/src/totem-options.c
+++ b/src/totem-options.c
@@ -61,7 +61,7 @@ const GOptionEntry all_options[] = {
        {"enqueue", '\0', 0, G_OPTION_ARG_NONE, &optionstate.enqueue, N_("Enqueue"), NULL},
        {"replace", '\0', 0, G_OPTION_ARG_NONE, &optionstate.replace, N_("Replace"), NULL},
        {"seek", '\0', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_INT64, &optionstate.seek, N_("Seek"), NULL},
-       {"version", 0, G_OPTION_FLAG_NO_ARG | G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_CALLBACK, option_version_cb, 
NULL, NULL},
+       {"version", 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK, option_version_cb, NULL, NULL},
        {G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_FILENAME_ARRAY, &optionstate.filenames, N_("Movies to 
play"), NULL},
        {NULL} /* end the list */
 };


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]