https://bugs.llvm.org/show_bug.cgi?id=46400
Bug ID: 46400
Summary: Change to print help instead of reading from stdin
when running without arguments
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-readobj
Assignee: unassignedb...@nondot.org
Reporter: jh7370.2...@my.bristol.ac.uk
CC: jh7370.2...@my.bristol.ac.uk, llvm-bugs@lists.llvm.org
GNU readelf, when executed with no input files prints the help text. This is
fairly standard behaviour for most tools. llvm-readelf does not - it instead
tries to read the object from stdin. Reading from stdin seems to not be a
particularly useful behaviour for most users, and can also be achieved via a
'-' for the input object. We should change llvm-readelf (and llvm-readobj for
consistency) to do the same as GNU does. This will necessesitate a number of
updates to tests, but otherwise should be fairly straightforward to do (the
updates would be to just use '-' instead).
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs