[tools] Load the leap second kernel later
... to show usage and error messagespull/3/head
parent
db90fbf3a0
commit
a80389dbcf
|
@ -530,9 +530,6 @@ bool readConfig(istream& in, Configuration& config)
|
|||
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
// Load the leap second kernel
|
||||
furnsh_c("naif0012.tls");
|
||||
|
||||
if (argc < 2)
|
||||
{
|
||||
cerr << "Usage: spice2xyzv <config filename> [output filename]\n";
|
||||
|
@ -586,6 +583,9 @@ int main(int argc, char* argv[])
|
|||
return 1;
|
||||
}
|
||||
|
||||
// Load the leap second kernel
|
||||
furnsh_c("naif0012.tls");
|
||||
|
||||
writeCommentHeader(config, cout);
|
||||
convertSpkToXyzv(config, cout);
|
||||
|
||||
|
|
Loading…
Reference in New Issue