[llvm-bugs] [Bug 42964] New: Allow "-<integer>" as an alias for "-n integer"

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 12 03:11:04 PDT 2019


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

            Bug ID: 42964
           Summary: Allow "-<integer>" as an alias for "-n integer"
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-strings
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: jh7370.2008 at my.bristol.ac.uk, llvm-bugs at lists.llvm.org

llvm-strings doesn't allow "-1", "-2" etc as aliases for "-n 1", "-n 2" etc,
unlike GNU strings. We should add those aliases.

Once this is fixed, we should show that cases like "-n -1" produce sensible
behaviour. In this case, it should probably be rejected as -1 isn't a valid
argument for -n, or because -n is missing an argument.

-- 
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/20190812/d754d9bc/attachment-0001.html>


More information about the llvm-bugs mailing list