+{
+ START_USAGE(usage)
+ " \n PrintDicomDir :\n",
+ " Display the tree-like structure of a DICOMDIR File",
+ " usage: PrintDicomDir filein=fileName [level=n] [debug] ",
+ " detail = 1 : Patients, 2 : Studies, 3 : Series, 4 : Images ",
+ " 5 : Full Content ",
+ " level = 0,1,2 : depending on user (what he wants to see)",
+ " debug : user wants to run the program in 'debug mode' ",
+ FINISH_USAGE
+
+ // Initialize Arguments Manager
+ gdcm::ArgMgr *am= new gdcm::ArgMgr(argc, argv);
+
+ if (argc == 1)
+ {
+ am->ArgMgrUsage(usage); // Display 'usage'
+ delete am;
+ return 0;
+ }
+