diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-24 14:18:07 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-24 14:18:45 +0300 |
commit | 1c92602172790bbcb75f6083cf53ce7fea25b33a (patch) | |
tree | 03e607086477a15fe9e6500cba428d8e369ae700 /src/apk_defines.h | |
parent | 195859b3fd35819b218336f0bdd87eaa55778d56 (diff) | |
download | apk-tools-1c92602172790bbcb75f6083cf53ce7fea25b33a.tar.gz apk-tools-1c92602172790bbcb75f6083cf53ce7fea25b33a.tar.bz2 apk-tools-1c92602172790bbcb75f6083cf53ce7fea25b33a.tar.xz apk-tools-1c92602172790bbcb75f6083cf53ce7fea25b33a.zip |
apk: add -i/--interactive option (fixes #60)
and use that to figure if questions are allowed or not instead
of the verbosity level.
Diffstat (limited to 'src/apk_defines.h')
-rw-r--r-- | src/apk_defines.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_defines.h b/src/apk_defines.h index a7e13f9..2ce3535 100644 --- a/src/apk_defines.h +++ b/src/apk_defines.h @@ -61,6 +61,7 @@ extern unsigned int apk_flags; #define APK_UPDATE_CACHE 0x0080 #define APK_ALLOW_UNTRUSTED 0x0100 #define APK_PURGE 0x0200 +#define APK_INTERACTIVE 0x0400 #define apk_error(args...) do { apk_log("ERROR: ", args); } while (0) #define apk_warning(args...) do { if (apk_verbosity > 0) { apk_log("WARNING: ", args); } } while (0) |