diff options
Diffstat (limited to 'src/apk.c')
-rw-r--r-- | src/apk.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -37,6 +37,7 @@ static struct apk_option generic_options[] = { required_argument, "REPO" }, { 'q', "quiet", "Print less information" }, { 'v', "verbose", "Print more information" }, + { 'i', "interactive", "Ask confirmation for certain operations" }, { 'V', "version", "Print program version and exit" }, { 'f', "force", "Do what was asked even if it looks dangerous" }, { 'U', "update-cache", "Update the repository cache" }, @@ -348,6 +349,9 @@ int main(int argc, char **argv) case 'f': apk_flags |= APK_FORCE; break; + case 'i': + apk_flags |= APK_INTERACTIVE; + break; case 'U': apk_flags |= APK_UPDATE_CACHE; break; |