Parse the command line, return the file name.
| 148 | |
| 149 | // Parse the command line, return the file name. |
| 150 | char const * parse_command_line( int argc, char const * argv[] ) |
| 151 | { |
| 152 | if( argc == 2 ) |
| 153 | return argv[1]; |
| 154 | else |
| 155 | leaf::throw_exception(bad_command_line); |
| 156 | } |
| 157 | |
| 158 | |
| 159 | // Open a file for reading. |
no test coverage detected