Last change
on this file since 612 was
527,
checked in by rybkin, 15 years ago
|
See C.L. 414
|
-
Property svn:eol-style set to
native
|
File size:
697 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 | /*----------------------------------------------------------*/ |
---|
13 | int 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 | CmtSystem::close_stdout (); |
---|
25 | |
---|
26 | return (status); |
---|
27 | } |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.