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

Last change on this file since 400 was 400, checked in by arnault, 17 years ago

Text formatting
Sending warnings & errors to stderr
Using internally PWD for every cd/pwd
CL 327

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