[tracker-miners/wip/carlosg/cli-improvements: 23/30] tracker: Remove "--file" argument from tracker3 index
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/carlosg/cli-improvements: 23/30] tracker: Remove "--file" argument from tracker3 index
- Date: Tue, 18 Aug 2020 09:18:31 +0000 (UTC)
commit e247decfd486c5d0827cd13d59ff0fddd095754b
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Aug 17 20:02:04 2020 +0200
tracker: Remove "--file" argument from tracker3 index
This (kinda pointlessly) remained, but it's now even more so with
the changes that are coming.
src/tracker/tracker-index.c | 8 --------
1 file changed, 8 deletions(-)
---
diff --git a/src/tracker/tracker-index.c b/src/tracker/tracker-index.c
index 506ca2e4e..7c8507579 100644
--- a/src/tracker/tracker-index.c
+++ b/src/tracker/tracker-index.c
@@ -38,13 +38,9 @@
#include "tracker-dbus.h"
#include "tracker-miner-manager.h"
-static gboolean file_arg;
static gchar **filenames;
static GOptionEntry entries[] = {
- { "file", 'f', 0, G_OPTION_ARG_NONE, &file_arg,
- N_("Does nothing, provided for compatibility with Tracker 2.0"),
- NULL },
{ G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_FILENAME_ARRAY, &filenames,
N_("FILE"),
N_("FILE") },
@@ -236,9 +232,5 @@ main (int argc, const char **argv)
return EXIT_FAILURE;
}
- if (file_arg) {
- g_message ("The --file arg is no longer needed.");
- }
-
return index_run ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]