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

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