diff options
Diffstat (limited to 'src/index.c')
-rw-r--r-- | src/index.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/index.c b/src/index.c index 4dd69cb..35bd340 100644 --- a/src/index.c +++ b/src/index.c @@ -118,9 +118,9 @@ static int index_main(void *ctx, struct apk_database *db, struct apk_string_arra char **parg; if (isatty(STDOUT_FILENO) && ictx->output == NULL && - !(apk_flags & APK_FORCE)) { - apk_error("Will not write binary index to console " - "without --force"); + !(apk_force & APK_FORCE_BINARY_STDOUT)) { + apk_error("Will not write binary index to console. " + "Use --force-binary-stdout to override."); return -1; } |