biobambam2
biobambam2 copied to clipboard
Do not crash if no argument was provided
Hi, I find it unusual that bamsort, bammerge and probably many other utils crash if they are executed without an argument. Please assume '-h' was passed to the utility and display appropriate usage help text.
$ bammerge
Refusing write binary data to terminal, please redirect standard output to pipe or file.
/usr/lib64/libmaus2.so.2(libmaus2::util::StackTrace::StackTrace()+0x5f)[0x7fffceaed4df]
bammerge(libmaus2::exception::LibMausException::LibMausException()+0x20)[0x4128c0]
bammerge()[0x410fd3]
bammerge()[0x40ce06]
/lib64/libc.so.6(__libc_start_main+0xf0)[0x7fffcd8ba280]
bammerge()[0x40d4da]
$