diff --git a/workflow/scripts/plot_profile.sh b/workflow/scripts/plot_profile.sh
index b31596a1d623e01cf3e003106a1972a420224e3a..7cb9055adc9e643f452dffc863a6fae4faab2bfa 100755
--- a/workflow/scripts/plot_profile.sh
+++ b/workflow/scripts/plot_profile.sh
@@ -69,7 +69,7 @@ run_main() {
 
   # Parsing options
   OPTIND=1 # Reset OPTIND
-  while getopts :gh opt
+  while getopts g:h opt
       do
           case $opt in
               g) gtf=$OPTARG;;