From 064f04e7e2b1316f7c3de1ac7dd1fc4d4e108dd5 Mon Sep 17 00:00:00 2001 From: "\"Vladimir N. Oleynik\"" Date: Tue, 11 Oct 2005 14:38:01 +0000 Subject: - 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. --- coreutils/install.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coreutils/install.c') diff --git a/coreutils/install.c b/coreutils/install.c index 9fcb75405..9e5eb6037 100644 --- a/coreutils/install.c +++ b/coreutils/install.c @@ -61,7 +61,7 @@ extern int install_main(int argc, char **argv) int ret = EXIT_SUCCESS, flags, i, isdir; bb_applet_long_options = install_long_options; - bb_opt_complementally = "!s~d:d~s"; + bb_opt_complementally = "?s~d:d~s"; /* -c exists for backwards compatability, its needed */ flags = bb_getopt_ulflags(argc, argv, "cdpsg:m:o:", &gid_str, &mode_str, &uid_str); /* 'a' must be 2nd */ -- cgit v1.2.3-55-g6feb