[tracker] tracker-control: Remove shorthand options for less used switches



commit fcb2e1e3ba348803cfd85180c43bb45c1ccd6bb5
Author: Martyn Russell <martyn lanedo com>
Date:   Wed Apr 23 11:05:24 2014 +0100

    tracker-control: Remove shorthand options for less used switches

 docs/manpages/tracker-control.1              |    8 ++++----
 src/tracker-control/tracker-control-miners.c |    6 +++---
 src/tracker-control/tracker-control-status.c |    2 +-
 3 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/docs/manpages/tracker-control.1 b/docs/manpages/tracker-control.1
index 9743a62..14bc625 100644
--- a/docs/manpages/tracker-control.1
+++ b/docs/manpages/tracker-control.1
@@ -127,7 +127,7 @@ miners).
 Follow status changes as they happen. This requires Ctrl+C to stop and
 return to the command line. Each new status is put on a new line.
 .TP
-.B \-C, \-\-list-common-statuses
+.B \-\-list-common-statuses
 This will list statuses most commonly produced by miners and the
 store. These statuses are not translated when sent over D-Bus and
 should be translated by each application. These are not considered
@@ -150,16 +150,16 @@ more than once per \fIMIME\fR type.
 .B \-f, \-\-index-file=FILE
 (Re)index a file matching the \fIFILE\fR type supplied.
 .TP
-.B \-l, \-\-list-miners-running
+.B \-\-list-miners-running
 This will list all miners which have responded to a D-Bus call.
 Sometimes it is helpfult to use this command with
 .B \-\-list-miners-available.
 .TP
-.B \-a, \-\-list-miners-available
+.B \-\-list-miners-available
 This will list all miners which are available even if they are not
 running at the moment.
 .TP
-.B \-i, \-\-pause-details
+.B \-\-pause-details
 For listing all miners which are paused and the reasons for being
 paused, you can use this. It will also display the application that
 requested the pause too.
diff --git a/src/tracker-control/tracker-control-miners.c b/src/tracker-control/tracker-control-miners.c
index e6ab579..0cc943f 100644
--- a/src/tracker-control/tracker-control-miners.c
+++ b/src/tracker-control/tracker-control-miners.c
@@ -75,15 +75,15 @@ static GOptionEntry entries[] = {
          N_("Miner to use with --resume or --pause (you can use suffixes, e.g. Files or Applications)"),
          N_("MINER")
        },
-       { "list-miners-running", 'l', 0, G_OPTION_ARG_NONE, &list_miners_running,
+       { "list-miners-running", 0, 0, G_OPTION_ARG_NONE, &list_miners_running,
          N_("List all miners currently running"),
          NULL
        },
-       { "list-miners-available", 'a', 0, G_OPTION_ARG_NONE, &list_miners_available,
+       { "list-miners-available", 0, 0, G_OPTION_ARG_NONE, &list_miners_available,
          N_("List all miners installed"),
          NULL
        },
-       { "pause-details", 'i', 0, G_OPTION_ARG_NONE, &pause_details,
+       { "pause-details", 0, 0, G_OPTION_ARG_NONE, &pause_details,
          N_("List pause reasons"),
          NULL
        },
diff --git a/src/tracker-control/tracker-control-status.c b/src/tracker-control/tracker-control-status.c
index 647e1db..94a1290 100644
--- a/src/tracker-control/tracker-control-status.c
+++ b/src/tracker-control/tracker-control-status.c
@@ -67,7 +67,7 @@ static GOptionEntry entries[] = {
          N_("Follow status changes as they happen"),
          NULL
        },
-       { "list-common-statuses", 'C', 0, G_OPTION_ARG_NONE, &list_common_statuses,
+       { "list-common-statuses", 0, 0, G_OPTION_ARG_NONE, &list_common_statuses,
          N_("List common statuses for miners and the store"),
          NULL
        },


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