<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -30,7 +30,7 @@
 #include &lt;qtextstream.h&gt;
 #include &lt;qdebug.h&gt;
 #include &lt;qstringlist.h&gt;
-    
+
 #include &quot;decompress.h&quot;
 
 /*
@@ -41,12 +41,12 @@ int main(int argc, const char *argv[])
     QFile inFile;
     QTextStream in(&amp;inFile);
     QTextStream out(stdout);
-    
+
     bool spec = false;
     bool functions = false;
     bool cost = false;
     QStringList args;
-    
+
     // Either read in from stdin or read in from a file
     bool setInput = false;
     for (int i = 1; i &lt; argc; ++i) {
@@ -66,15 +66,17 @@ int main(int argc, const char *argv[])
         } else {
             qWarning() &lt;&lt; &quot;Usage:&quot; &lt;&lt; argv[0]
                         &lt;&lt; &quot;[stdin|callgrindFile]&quot; &lt;&lt; &quot;[options]&quot;;
-            qWarning() &lt;&lt; &quot;-spec type [ob|fl|fn|fe|calls]&quot;;
             qWarning() &lt;&lt; &quot;-functions file&quot;;
             qWarning() &lt;&lt; &quot;-cost function&quot;;
+            qWarning() &lt;&lt; &quot;-spec type [ob|fl|fn|fe|calls]&quot;;
             return 1;
         }
     }
     if (!setInput) inFile.open(stdin, QIODevice::ReadOnly);
-    if (inFile.openMode() == QIODevice::NotOpen)
+    if (inFile.openMode() == QIODevice::NotOpen) {
+        qWarning() &lt;&lt; &quot;Unable to open callgrind file&quot;;
         return 1;
+    }
 
     QStringList seen;
     QStack&lt;QString&gt; currentFile;
@@ -123,7 +125,6 @@ int main(int argc, const char *argv[])
                 }
             }
         }
-        
     } while (!in.atEnd());
     if (cost)
         out &lt;&lt; totalCost &lt;&lt; endl;</diff>
      <filename>callgrind_info/main.cpp</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>877123c209b84684124be88ca8d98a49a9ca40e4</id>
    </parent>
  </parents>
  <author>
    <name>Benjamin Meyer</name>
    <email>ben@katherline.(none)</email>
  </author>
  <url>http://github.com/icefox/callgrind_tools/commit/647e09b8618c174a4f0a6be3a52f251b989b2c92</url>
  <id>647e09b8618c174a4f0a6be3a52f251b989b2c92</id>
  <committed-date>2007-12-07T06:35:51-08:00</committed-date>
  <authored-date>2007-12-07T06:35:51-08:00</authored-date>
  <message>Minor cleanup of whitespace and add a warning if the file doesn't exists</message>
  <tree>78330230b58f00079eebdf969efe679803b75661</tree>
  <committer>
    <name>Benjamin Meyer</name>
    <email>ben@katherline.(none)</email>
  </committer>
</commit>
