diff --git a/scripts/checkbashisms.pl b/scripts/checkbashisms.pl
index 471deda..a00131a 100755
--- a/scripts/checkbashisms.pl
+++ b/scripts/checkbashisms.pl
@@ -709,7 +709,7 @@ qr'(?:^|\s)(?<func>function\s)?\s*(?:[^<>\(\)\[\]\{\};|\s]*[^<>\(\)\[\]\{\};|\s\
         $LEADIN . qr'jobs\s'   => q<jobs>,
  #	$LEADIN . qr'jobs\s+-[^lp]\s' =>  q<'jobs' with option other than -l or -p>,
         $LEADIN
-          . qr'command\s+(?:-[pvV]+\s+)*-(?:[pvV])*[^pvV\s]' =>
+          . qr'command\s+(?:-[pvV]+\s+)*(?!--(?:\s|\Z))-(?:[pvV])*[^pvV\s]' =>
           q<'command' with option other than -p, -v or -V>,
         $LEADIN
           . qr'setvar\s' =>
diff --git a/test/bashisms/command.sh b/test/bashisms/command.sh
index bdfb8c6..60d91fd 100644
--- a/test/bashisms/command.sh
+++ b/test/bashisms/command.sh
@@ -14,3 +14,5 @@ command -ap test # BASHISM
 command -p -a test # BASHISM
 command -pV -a test # BASHISM
 command -p test
+command -v -- test
+command -- test
