[gnote] Do not hide --background option



commit 71cc070f8fed9397a442d535f21c26e8328b19ad
Author: Aurimas Černius <aurisc4 gmail com>
Date:   Sat Feb 19 18:03:20 2022 +0200

    Do not hide --background option
    
    Fixes https://gitlab.gnome.org/GNOME/gnote/-/issues/118

 src/gnote.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gnote.cpp b/src/gnote.cpp
index 6d150416..71f70a65 100644
--- a/src/gnote.cpp
+++ b/src/gnote.cpp
@@ -480,7 +480,7 @@ namespace gnote {
   {
     const GOptionEntry entries[] =
       {
-        { "background", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &m_background, _("Run Gnote in 
background."), NULL },
+        { "background", 0, G_OPTION_ARG_NONE, G_OPTION_ARG_NONE, &m_background, _("Run Gnote in 
background."), NULL },
         { "shell-search", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &m_shell_search, _("Run Gnote as GNOME 
Shell search provider."), NULL },
         { "note-path", 0, 0, G_OPTION_ARG_STRING, &m_note_path, _("Specify the path of the directory 
containing the notes."), _("path") },
         { "search", 0, G_OPTION_FLAG_OPTIONAL_ARG, G_OPTION_ARG_CALLBACK, 
(void*)GnoteCommandLine::parse_func, _("Open the search all notes window with the search text."), _("text") },


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