]> Creatis software - gdcm.git/blobdiff - Example/PrintDocument.cxx
* Test/TestWriteRead.cxx and TestReadWrite.cxx merged (because of
[gdcm.git] / Example / PrintDocument.cxx
index 617c86163081e475a330395fb58938c7dcbbcb9d..940b816621e3da2990514845d6e8cb0e6f4b009e 100644 (file)
 int main(int argc, char* argv[])
 {
  
-//   gdcmFile *e2;
    gdcmHeader *e1;
    std::string fileName;   
 
    if (argc != 2) {
-      std::cout << " usage : PrintDocument fileName" << std::endl;
+      std::cout << " Usage : " << argv[0] 
+                << " filename." << std::endl;
    }
 
    if (argc > 1) {