aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorvodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-10-14 09:56:52 +0000
committervodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277>2005-10-14 09:56:52 +0000
commit01624413c323108075899977a28fc904b2af0ff3 (patch)
tree06f15d778a64ba361219d8227f87422173bf0da8 /util-linux
parent846218fbf12a4870648037175fe7cdf286501569 (diff)
downloadbusybox-w32-01624413c323108075899977a28fc904b2af0ff3.tar.gz
busybox-w32-01624413c323108075899977a28fc904b2af0ff3.tar.bz2
busybox-w32-01624413c323108075899977a28fc904b2af0ff3.zip
- new bb_opt_complementally syntax, use [-:?] only - 'free' chars
- new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet git-svn-id: svn://busybox.net/trunk/busybox@11859 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/hwclock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/util-linux/hwclock.c b/util-linux/hwclock.c
index 3021442b7..5b990df0c 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -209,7 +209,7 @@ static const struct option hwclock_long_options[] = {
209 bb_applet_long_options = hwclock_long_options; 209 bb_applet_long_options = hwclock_long_options;
210#endif 210#endif
211 211
212 bb_opt_complementally = "?r~ws:w~rs:s~wr:l~u:u~l"; 212 bb_opt_complementally = "?:r--ws:w--rs:s--wr:l--u:u--l";
213 opt = bb_getopt_ulflags(argc, argv, "lursw"); 213 opt = bb_getopt_ulflags(argc, argv, "lursw");
214 214
215 /* If -u or -l wasn't given check if we are using utc */ 215 /* If -u or -l wasn't given check if we are using utc */