less: FEATURE_LESS_LINENUMS depends on FEATURE_LESS_DASHCMD

diff --git a/miscutils/Config.in b/miscutils/Config.in
index 40edf23..074e6c4 100644
--- a/miscutils/Config.in
+++ b/miscutils/Config.in
@@ -318,7 +318,7 @@
 config FEATURE_LESS_LINENUMS
 	bool "Enable dynamic switching of line numbers"
 	default n
-	depends on LESS
+	depends on FEATURE_LESS_DASHCMD
 	help
 	  Enable "-N" command.