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