diff --git a/doc/pacman.conf.5.txt b/doc/pacman.conf.5.txt
index 2bfe757..7735a1f 100644
--- a/doc/pacman.conf.5.txt
+++ b/doc/pacman.conf.5.txt
@@ -162,6 +162,8 @@ Options
If set to `Ask`, display a prompt for each target, where the user can select
which of the optional dependencies of that target will be installed.
Also, the optional dependencies of the targets won't be shown during installation.
+ The prompt selects none of the optional dependencies by default.
+ If both values are specified, all optional dependencies are selected by default.
*SigLevel =* ...::
Set the default signature verification level. For more information, see
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index f073b59..8f2f49f 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -660,7 +660,7 @@ static int process_optdeps(alpm_list_t *dblist, alpm_pkg_t *pkg)
goto cleanup;
}