1 // RUN: not clang-query --invalid-arg 2>&1 | FileCheck %s
2 
3 // CHECK: error: [CommonOptionsParser]: 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