source: CMT/HEAD/source/cmt.cxx @ 542

Last change on this file since 542 was 527, checked in by rybkin, 15 years ago

See C.L. 414

  • Property svn:eol-style set to native
File size: 697 bytes
RevLine 
[2]1//-----------------------------------------------------------
2// Copyright Christian Arnault LAL-Orsay CNRS
3// arnault@lal.in2p3.fr
[363]4// Modified by garonne@lal.in2p3.fr
[2]5// See the complete license in cmt_license.txt "http://www.cecill.info".
6//-----------------------------------------------------------
7
8#include "cmt.h"
9
[363]10#include <stdlib.h>
11
[2]12/*----------------------------------------------------------*/
13int main (int argc, char* argv[])
14/*----------------------------------------------------------*/
15{
16  int status = Cmt::parser (argc, argv);
[400]17
[389]18  // Extract the pure status code
19  if  (status > 255)
[400]20    {
21      status =  status/256;
22    }
23
[527]24  CmtSystem::close_stdout ();
25
[2]26  return (status);
27}
28
Note: See TracBrowser for help on using the repository browser.