This patch changes llvm-readelf (and llvm-readobj for consistency) behavior. This means to print the error when executed with no input files. Reading from stdin can be achieved via a '-' for the input object.
Fixes https://bugs.llvm.org/show_bug.cgi?id=46400
Yours,
Elvina
Software Engineer
Advanced Software Technology Lab, Huawei
Use lower case for the first letter of error and warning messages (see https://llvm.org/docs/CodingStandards.html#error-and-warning-messages).