From 6487f4bfe65db9dd4b0aa46b566580612a42c10d Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Wed, 26 Nov 2014 22:53:46 +0000 Subject: [PATCH] Add a small "usage:" comment at the top of not.cpp Mostly pulled from Rafael's r185678 commit message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222855 91177308-0d34-0410-b5e6-96231b3b80d8 --- utils/not/not.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/utils/not/not.cpp b/utils/not/not.cpp index 2adeded51f0..23062fb323d 100644 --- a/utils/not/not.cpp +++ b/utils/not/not.cpp @@ -6,6 +6,11 @@ // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// +// Usage: +// not cmd +// Will return true if cmd doesn't crash and returns false. +// not --crash cmd +// Will return true if cmd crashes (e.g. for testing crash reporting). #include "llvm/Support/Path.h" #include "llvm/Support/Program.h"