aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp
diff options
context:
space:
mode:
authorIgor Kudrin <ikudrin@accesssoftek.com>2023-12-14 08:29:29 +0700
committerGitHub <noreply@github.com>2023-12-14 08:29:29 +0700
commitde8ee03ed916feb37b602b93c07f0dade8fd0050 (patch)
treed462446acbfc79899c3542bf28f5ee78b17203bd /llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp
parent67d7903262ce5c35bb23d599040dff29b9d7759e (diff)
downloadllvm-de8ee03ed916feb37b602b93c07f0dade8fd0050.zip
llvm-de8ee03ed916feb37b602b93c07f0dade8fd0050.tar.gz
llvm-de8ee03ed916feb37b602b93c07f0dade8fd0050.tar.bz2
[CommandLine] Better report unknown subcommands (#74811)
The patch improves the reporting for the first option in the command line when it looks like a subcommand name but does not match any defined. Before the patch: ``` > prog baz prog: Unknown command line argument 'baz'. Try: 'prog --help' ``` With the patch: ``` > prog baz prog: Unknown subcommand 'baz'. Try: 'prog --help' prog: Did you mean 'bar'? ```
Diffstat (limited to 'llvm/unittests/DebugInfo/LogicalView/CodeViewReaderTest.cpp')
0 files changed, 0 insertions, 0 deletions