diff options
Diffstat (limited to 'archival/bzip2.c')
-rw-r--r-- | archival/bzip2.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/archival/bzip2.c b/archival/bzip2.c index 0b9c508df..d578eb7ad 100644 --- a/archival/bzip2.c +++ b/archival/bzip2.c | |||
@@ -195,9 +195,11 @@ int bzip2_main(int argc UNUSED_PARAM, char **argv) | |||
195 | * --best alias for -9 | 195 | * --best alias for -9 |
196 | */ | 196 | */ |
197 | 197 | ||
198 | opt_complementary = "s2"; /* -s means -2 (compatibility) */ | 198 | opt = getopt32(argv, "^" |
199 | /* Must match bbunzip's constants OPT_STDOUT, OPT_FORCE! */ | 199 | /* Must match bbunzip's constants OPT_STDOUT, OPT_FORCE! */ |
200 | opt = getopt32(argv, "cfkv" IF_FEATURE_BZIP2_DECOMPRESS("dt") "123456789qzs"); | 200 | "cfkv" IF_FEATURE_BZIP2_DECOMPRESS("dt") "123456789qzs" |
201 | "\0" "s2" /* -s means -2 (compatibility) */ | ||
202 | ); | ||
201 | #if ENABLE_FEATURE_BZIP2_DECOMPRESS /* bunzip2_main may not be visible... */ | 203 | #if ENABLE_FEATURE_BZIP2_DECOMPRESS /* bunzip2_main may not be visible... */ |
202 | if (opt & 0x30) // -d and/or -t | 204 | if (opt & 0x30) // -d and/or -t |
203 | return bunzip2_main(argc, argv); | 205 | return bunzip2_main(argc, argv); |