[tracker/wip/carlosg/domain-ontologies: 82/93] tracker-store: Remove fine-grained domain ontologies CLI switches



commit 3790dfbe6bfe2faf04e80ff0f2ec80c9ccf3147f
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jun 19 15:19:14 2017 +0200

    tracker-store: Remove fine-grained domain ontologies CLI switches
    
    Only allow --domain-ontology/-d to specify the rule name. There is too
    much room for failure making it possible to provide all switches manually
    (eg. missing ones, or pointing to the wrong location).
    
    The ontology rules are installed at /usr/share, so presumably the author(s)
    know what they are doing.

 src/tracker-store/tracker-main.vala |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/tracker-store/tracker-main.vala b/src/tracker-store/tracker-main.vala
index 18f5e54..7cd7ad8 100644
--- a/src/tracker-store/tracker-main.vala
+++ b/src/tracker-store/tracker-main.vala
@@ -62,12 +62,6 @@ License which can be viewed at:
                { "force-reindex", 'r', 0, OptionArg.NONE, ref force_reindex, N_("Force a re-index of all 
content"), null },
                { "readonly-mode", 'n', 0, OptionArg.NONE, ref readonly_mode, N_("Only allow read based 
actions on the database"), null },
                { "domain-ontology", 'd', 0, OptionArg.STRING, ref domain_ontology, N_("Load a specified 
domain ontology"), null },
-               { "domain", 'a', 0, OptionArg.STRING, ref domain, N_("Override domain to be used"), null },
-               { "ontology-name", 'o', 0, OptionArg.STRING, ref ontology_name, N_("Override ontology name to 
be used"), null },
-               { "cache-location", 'c', 0, OptionArg.STRING, ref cache_location, N_("Override cache location 
to be used"), null },
-               { "data-location", 'm', 0, OptionArg.STRING, ref data_location, N_("Override data location to 
be used"), null },
-               { "ontology-location", 'n', 0, OptionArg.STRING, ref ontology_location, N_("Override ontology 
location to be used"), null },
-
                { null }
        };
 


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