upx 5.0.2 - Help message truncated
Author: dragon-archerCreated Jan 15, 2026Updated Jun 8, 2026
Labelsenhancementos:Windowsnotabug
This issue tracker is ONLY used for reporting bugs. Please use stackoverflow for supporting issues.
What's the problem (or question)?
I'm using upx 5.0.2 on msys2.
When running upx --help in bash/zsh, the output will be truncated at "file.. executables to (de)compress", everything above is lost, including some of the output from previous commands.
I've tried to run seq 100 then upx --help, and the output is like below
...
48
49
50
51
52
53
54
55
file.. executables to (de)compress
This version supports:
amd64-darwin.dylib dylib/amd64
amd64-darwin.macho macho/amd64
amd64-linux.elf linux/amd64
amd64-linux.kernel.vmlinux vmlinux/amd64
amd64-win64.pe win64/pe
...However, if I use upx --help | less, then everything is correct.
I've tried both windows terminal and mintty, and the result is similiar (though the tuncation point differs).
What should have happened?
upx --help outputs correctly
Do you have an idea for a solution?
Not yet.
How can we reproduce the issue?
Already described above.
Please tell us details about your environment.
- UPX version used (
upx --version):
upx 5.0.2
UCL data compression library 1.03
zlib data compression library 1.3.1.1-motley
LZMA SDK version 4.43
doctest C++ testing framework version 2.4.11- Host Operating System and version: Windows 11 24H2 26100.7462, with up to date Msys2.
- Host CPU architecture: x86_64
- Target Operating System and version: N/A
- Target CPU architecture: N/A
Source: upx/upx