summary refs log tree commit diff
path: root/blather.py
diff options
context:
space:
mode:
authorClayton G. Hobbs <clay@lakeserv.net>2015-12-27 02:13:24 -0500
committerClayton G. Hobbs <clay@lakeserv.net>2015-12-27 02:13:24 -0500
commitd722e33a351e65077c636f7a92011a0e82a59973 (patch)
tree83ffb9f1f92e479977d4da574f473d813b200a5d /blather.py
parent980c6c4c0554faa7162373a0b6caf8c495f212bd (diff)
Removed override command line option
Personally, I don't see a point to a switch that must be turned on to
make all other switches work at all.  It's a confusing behaviour that
made me think I somehow broke the GUIs.
Diffstat (limited to 'blather.py')
-rwxr-xr-xblather.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/blather.py b/blather.py
index 5406583..6abd9fb 100755
--- a/blather.py
+++ b/blather.py
@@ -52,8 +52,7 @@ class Blather:
 
         # Merge the options with the ones provided by command-line arguments
         for k, v in opts.__dict__.items():
-            if (not k in self.options) or opts.override:
-                self.options[k] = v
+            self.options[k] = v
 
         if self.options['interface'] != None:
             if self.options['interface'] == "g":
@@ -254,10 +253,6 @@ if __name__ == "__main__":
             action="store_true", dest="pass_words", default=False,
             help="passes the recognized words as arguments to the shell command")
 
-    parser.add_option("-o", "--override",
-            action="store_true", dest="override", default=False,
-            help="override config file with command line options")
-
     parser.add_option("-H", "--history", type="int",
             action="store", dest="history",
             help="number of commands to store in history file")