diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/decompress_bunzip2.c | 2 | ||||
-rw-r--r-- | lib/parameter.c | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lib/decompress_bunzip2.c b/lib/decompress_bunzip2.c index 4b6edd16a8..0ca2dcd400 100644 --- a/lib/decompress_bunzip2.c +++ b/lib/decompress_bunzip2.c @@ -15,7 +15,7 @@ More efficient reading of Huffman codes, a streamlined read_bunzip() function, and various other tweaks. In (limited) tests, approximately - 20% faster than bzcat on x86 and about 10% faster on arm. + 20% faster than bzcat on x86 and about 10% faster on ARM. Note that about 2/3 of the time is spent in read_unzip() reversing the Burrows-Wheeler transformation. Much of that time is delay diff --git a/lib/parameter.c b/lib/parameter.c index baa2b156c0..b1f9aa3a49 100644 --- a/lib/parameter.c +++ b/lib/parameter.c @@ -362,6 +362,9 @@ static void param_enum_info(struct param_d *p) struct param_enum *pe = to_param_enum(p); int i; + if (pe->num_names <= 1) + return; + printf(" ("); for (i = 0; i < pe->num_names; i++) { |