From f2164af8fe6fb97c66ca9d2a7f87cc8ba1e3c20e Mon Sep 17 00:00:00 2001
From: Hal Simpson <hasimpson@usgs.gov>
Date: Mon, 13 Jul 2015 13:58:32 -0600
Subject: [PATCH] Changed argument from forceout to output-edge-forceout, to be
 consistant with other argument naming conventions

---
 geomagio/Controller.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/geomagio/Controller.py b/geomagio/Controller.py
index 0614474d..b682693a 100644
--- a/geomagio/Controller.py
+++ b/geomagio/Controller.py
@@ -275,7 +275,7 @@ def main(args):
                 interval=args.interval,
                 locationCode=locationcode,
                 tag=args.output_edge_tag,
-                forceout=args.forceout)
+                forceout=args.output_edge_forceout)
     else:
             print >> sys.stderr, "Missing required output directive"
 
@@ -380,16 +380,16 @@ def parse_args(args):
     parser.add_argument('--output-edge-tag',
             default='GEOMAG',
             help='ID Tag for edge connections, defaults to GEOMAG')
+    parser.add_argument('--output-edge-forceout',
+            action='store_true',
+            default=False,
+            help='Flag to force data into miniseed blocks. Should only ' +
+                    'be used when certain the data is self contained.')
     parser.add_argument('--realtime',
             action='store_true',
             default=False,
             help='Flag to run the last hour if interval is minute, ' +
                     'or the last 10 minutes if interval is seconds')
-    parser.add_argument('--forceout',
-            action='store_true',
-            default=False,
-            help='Flag to force data into miniseed blocks. Should only ' +
-                    'be used when certain the data is self contained.')
 
     # Input group
     input_group = parser.add_mutually_exclusive_group(required=True)
-- 
GitLab