[llvm-bugs] [Bug 42945] New: CommandLine errors do not print original name used

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Aug 9 06:47:56 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42945

            Bug ID: 42945
           Summary: CommandLine errors do not print original name used
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Support Libraries
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at lists.llvm.org

When there is a problem with an alias option used on the command-line, the
error printed can (will?) print the aliased option name, not the version on the
command-line. In some cases this is fine, but it can get confusing if the
command-line is long, or a user is unfamiliar with the alias to original
mapping. For example:

C:\Work> llvm-strings -t z C:\Work\TempWork\test.o
llvm-strings.exe: for the   --radix option: Cannot find option named 'z'!

Note that --radix is printed and not -t. (Aside: the incorrect spacing has been
reported as bug 42943).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190809/12b892d0/attachment.html>


More information about the llvm-bugs mailing list