diff --git a/variants/msisensor.sh b/variants/msisensor.sh
index ef226caeee217b1b6f3b91dfe9f42cc47907227a..eba49f7a71e1e81e95ec55b73b6e4fb202ad0e51 100755
--- a/variants/msisensor.sh
+++ b/variants/msisensor.sh
@@ -9,7 +9,7 @@ usage() {
   exit 1
 }
 OPTIND=1 # Reset OPTIND
-while getopts :r:l:b:p:h opt
+while getopts :r:l:n:b:p:h opt
 do
     case $opt in
         r) index_path=$OPTARG;;