source: CMT/v1r26p20160527/source/cmt.cxx

Last change on this file was 663, checked in by rybkin, 10 years ago

See C.L. 522

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