diff options
author | Dan McGee <dan@archlinux.org> | 2007-08-20 22:34:43 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-10-09 03:46:55 +0200 |
commit | 1ff8e7f364a9f640ada7526384646d510ac29967 (patch) | |
tree | 39d17ca6040f2d1d5d5dc122e3e235abf17f2bca /src/pacman/pacman.c | |
parent | 60dc4b43fd4ad1c1ca2ab31f7ace7179fe3d1844 (diff) | |
download | pacman-1ff8e7f364a9f640ada7526384646d510ac29967.tar.gz pacman-1ff8e7f364a9f640ada7526384646d510ac29967.tar.xz |
Remove the non-user friendly --ask option
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r-- | src/pacman/pacman.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index 74493986..54a962a8 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -141,7 +141,6 @@ static void usage(int op, char *myname) } printf(_(" --config <path> set an alternate configuration file\n")); printf(_(" --noconfirm do not ask for any confirmation\n")); - printf(_(" --ask <number> pre-specify answers for questions (see manpage)\n")); printf(_(" --noprogressbar do not show a progress bar when downloading files\n")); printf(_(" --noscriptlet do not execute the install scriptlet if one exists\n")); printf(_(" -v, --verbose be verbose\n")); @@ -285,7 +284,6 @@ static int parseargs(int argc, char *argv[]) {"debug", optional_argument, 0, 1003}, {"noprogressbar", no_argument, 0, 1004}, {"noscriptlet", no_argument, 0, 1005}, - {"ask", required_argument, 0, 1006}, {"cachedir", required_argument, 0, 1007}, {"asdeps", no_argument, 0, 1008}, {0, 0, 0, 0} @@ -330,7 +328,6 @@ static int parseargs(int argc, char *argv[]) break; case 1004: config->noprogressbar = 1; break; case 1005: config->flags |= PM_TRANS_FLAG_NOSCRIPTLET; break; - case 1006: config->noask = 1; config->ask = atoi(optarg); break; case 1007: if(alpm_option_add_cachedir(optarg) != 0) { pm_printf(PM_LOG_ERROR, _("problem adding cachedir '%s' (%s)\n"), |