diff options
Diffstat (limited to 'archival/bzip2.c')
-rw-r--r-- | archival/bzip2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/bzip2.c b/archival/bzip2.c index eb570c434..62df4aab8 100644 --- a/archival/bzip2.c +++ b/archival/bzip2.c | |||
@@ -162,11 +162,11 @@ int bzip2_main(int argc ATTRIBUTE_UNUSED, char **argv) | |||
162 | 162 | ||
163 | opt_complementary = "s2"; /* -s means -2 (compatibility) */ | 163 | opt_complementary = "s2"; /* -s means -2 (compatibility) */ |
164 | /* Must match bbunzip's constants OPT_STDOUT, OPT_FORCE! */ | 164 | /* Must match bbunzip's constants OPT_STDOUT, OPT_FORCE! */ |
165 | opt = getopt32(argv, "cfv" USE_BUNZIP2("d") "123456789qzs" ); | 165 | opt = getopt32(argv, "cfv" USE_BUNZIP2("dt") "123456789qzs"); |
166 | #if ENABLE_BUNZIP2 /* bunzip2_main may not be visible... */ | 166 | #if ENABLE_BUNZIP2 /* bunzip2_main may not be visible... */ |
167 | if (opt & 0x8) // -d | 167 | if (opt & 0x18) // -d and/or -t |
168 | return bunzip2_main(argc, argv); | 168 | return bunzip2_main(argc, argv); |
169 | opt >>= 4; | 169 | opt >>= 5; |
170 | #else | 170 | #else |
171 | opt >>= 3; | 171 | opt >>= 3; |
172 | #endif | 172 | #endif |