summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2005-10-11 14:38:01 +0000
committer"Vladimir N. Oleynik"2005-10-11 14:38:01 +0000
commit064f04e7e2b1316f7c3de1ac7dd1fc4d4e108dd5 (patch)
treedcf88d0a287b1f154984bfc0acb292631df2f1f3 /util-linux
parentff567f7943f50b88dea14cd27636168ba2d319b5 (diff)
downloadbusybox-064f04e7e2b1316f7c3de1ac7dd1fc4d4e108dd5.zip
busybox-064f04e7e2b1316f7c3de1ac7dd1fc4d4e108dd5.tar.gz
- use complementally '!' to '?' - 'ask' is best 'free' char for this.
- more long opt compatibility, can set flag for long opt struct now - more logic: check opt-depend requires and global requires, special for 'id' and 'start-stop-daemon' applets.
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 45959e7..3021442 100644
--- a/util-linux/hwclock.c
+++ b/util-linux/hwclock.c
@@ -209,7 +209,7 @@ static const struct option hwclock_long_options[] = {
bb_applet_long_options = hwclock_long_options;
#endif
- bb_opt_complementally = "!r~ws:w~rs:s~wr:l~u:u~l";
+ bb_opt_complementally = "?r~ws:w~rs:s~wr:l~u:u~l";
opt = bb_getopt_ulflags(argc, argv, "lursw");
/* If -u or -l wasn't given check if we are using utc */