1// RUN: not clang-query --invalid-arg 2>&1 | FileCheck %s
2
3// CHECK: error: clang-query{{(\.exe)?}}: Unknown command line argument '--invalid-arg'. Try: 'clang-query{{(\.exe)?}} --help'
4// CHECK-NEXT: clang-query{{(\.exe)?}}: Did you mean '--extra-arg'?
5

source code of clang-tools-extra/test/clang-query/invalid-command-line.cpp