Allow early opts break, so per-sensor can be defined
authorSiraaj Khandkar <siraaj@khandkar.net>
Fri, 22 Mar 2019 19:45:44 +0000 (15:45 -0400)
committerSiraaj Khandkar <siraaj@khandkar.net>
Fri, 22 Mar 2019 19:45:44 +0000 (15:45 -0400)
x4/bin/khatus_x4_lib_common_sensor.sh

index 8dd5737..afb4cdb 100755 (executable)
@@ -32,6 +32,9 @@ set_common_options() {
                 interval="$2"
                 shift 2
             esac
+        ;; --)
+            shift 1
+            break
         ;; *)
             shift 1
         esac
This page took 0.023945 seconds and 4 git commands to generate.