diff --git a/hadolint.cabal b/hadolint.cabal
--- a/hadolint.cabal
+++ b/hadolint.cabal
@@ -2,10 +2,10 @@
 --
 -- see: https://github.com/sol/hpack
 --
--- hash: f24dbfc28b7f07ed86a83c5099ee99d1b02891582b069a151426cc7980798281
+-- hash: c21bd56e27b146d3a8ede82b69ed4a592a00e364a49e159607b05fc414cb1609
 
 name:           hadolint
-version:        1.6.2
+version:        1.6.3
 synopsis:       Dockerfile Linter JavaScript API
 description:    A smarter Dockerfile linter that helps you build best practice Docker images.
 category:       Development
diff --git a/src/Hadolint/Rules.hs b/src/Hadolint/Rules.hs
--- a/src/Hadolint/Rules.hs
+++ b/src/Hadolint/Rules.hs
@@ -349,8 +349,7 @@
         , isAptGetInstall cmd
         ]
   where
-    noOption arg = arg `notElem` options && not ("--" `isPrefixOf` arg)
-    options = ["apt-get", "install", "-d", "-f", "-m", "-q", "-y", "-qq"]
+    noOption arg = arg `notElem` ["apt-get", "install"] && not ("-" `isPrefixOf` arg)
 
 aptGetCleanup dockerfile = instructionRuleState code severity message check Nothing dockerfile
   where
diff --git a/test/Spec.hs b/test/Spec.hs
--- a/test/Spec.hs
+++ b/test/Spec.hs
@@ -120,7 +120,7 @@
             it "apt-get pinned chained" $
                 let dockerfile =
                         [ "RUN apt-get update \\"
-                        , " && apt-get -y --no-install-recommends install nodejs=0.10 \\"
+                        , " && apt-get -yqq --no-install-recommends install nodejs=0.10 \\"
                         , " && rm -rf /var/lib/apt/lists/*"
                         ]
                 in ruleCatchesNot aptGetVersionPinned $ unlines dockerfile
