summaryrefslogtreecommitdiff
path: root/util-linux/Config.in
diff options
context:
space:
mode:
authorDenys Vlasenko2009-06-19 12:10:38 +0200
committerDenys Vlasenko2009-06-19 12:10:38 +0200
commitf3b92d385695aecefd93d5f199be1f64270c2687 (patch)
tree5d6b2308ceafea6040bd78ea8401a91eb65d376b /util-linux/Config.in
parente2e4cc249dc1bd4b280846f55a36208674eadd55 (diff)
downloadbusybox-f3b92d385695aecefd93d5f199be1f64270c2687.zip
busybox-f3b92d385695aecefd93d5f199be1f64270c2687.tar.gz
getopt: FEATURE_GETOPT_LONG for -l; rename GETOPT_LONG to LONG_OPTS
Signed-off-by: Colin Watson <cjwatson@ubuntu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux/Config.in')
-rw-r--r--util-linux/Config.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/util-linux/Config.in b/util-linux/Config.in
index 0245501..bfd51bc 100644
--- a/util-linux/Config.in
+++ b/util-linux/Config.in
@@ -250,6 +250,13 @@ config GETOPT
written by others, this utility may be for you. Most people will
wisely leave this disabled.
+config FEATURE_GETOPT_LONG
+ bool "Support option -l"
+ default y if LONG_OPTS
+ help
+ Enable support for recognising long options using the -l option to
+ getopt.
+
config HEXDUMP
bool "hexdump"
default n
@@ -286,7 +293,7 @@ config HWCLOCK
config FEATURE_HWCLOCK_LONG_OPTIONS
bool "Support long options (--hctosys,...)"
default n
- depends on HWCLOCK && GETOPT_LONG
+ depends on HWCLOCK && LONG_OPTS
help
By default, the hwclock utility only uses short options. If you
are overly fond of its long options, such as --hctosys, --utc, etc)