diff --git a/src/geo_load.hpp b/src/geo_load.hpp index 3adba32..9e34aaa 100644 --- a/src/geo_load.hpp +++ b/src/geo_load.hpp @@ -1132,7 +1132,14 @@ return _errv ; } } + else + { + _jlog. push ( + "**input error: couldn't determine format of GEOM.\n") ; + return __invalid_argument ; + } + return ( _errv ) ; } diff --git a/src/hfn_load.hpp b/src/hfn_load.hpp index 78c543f..1c66f33 100644 --- a/src/hfn_load.hpp +++ b/src/hfn_load.hpp @@ -1931,6 +1931,13 @@ _errv = __invalid_argument ; } } + else + { + _jlog. push ( + "**input error: couldn't determine format of HFUN.\n") ; + + return __invalid_argument ; + } return ( _errv ) ; } diff --git a/src/ini_load.hpp b/src/ini_load.hpp index 0cb3f2b..f6a107a 100644 --- a/src/ini_load.hpp +++ b/src/ini_load.hpp @@ -1158,6 +1158,13 @@ _errv = __invalid_indexing ; } } + else + { + _jlog. push ( + "**input error: couldn't determine format of INIT.\n") ; + + return __invalid_argument ; + } return ( _errv ) ; } diff --git a/src/jigsaw.hpp b/src/jigsaw.hpp index ec541e5..57a4435 100644 --- a/src/jigsaw.hpp +++ b/src/jigsaw.hpp @@ -1629,7 +1629,7 @@ _retv = -2 ; std::cout << - "run jigsaw jigname.jig"; + "Usage: jigsaw user-opts.jig" ; std::cout << std::endl ; break ; @@ -1665,6 +1665,11 @@ break ; } } + if (_retv == -1) + { + std::cout << + "**parse error: *.jig file not found!" << std::endl; + } if (_retv != +0) return ( _retv ) ; /*--------------------------------- setup *.JLOG file */ diff --git a/src/marche.hpp b/src/marche.hpp index 9110168..fb5c048 100644 --- a/src/marche.hpp +++ b/src/marche.hpp @@ -326,7 +326,7 @@ _retv = -2 ; std::cout << - "run marche jigname.jig"; + "Usage: marche user-opts.jig" ; std::cout << std::endl ; break ; @@ -362,6 +362,11 @@ break ; } } + if (_retv == -1) + { + std::cout << + "**parse error: *.jig file not found!" << std::endl; + } if (_retv != +0) return ( _retv ) ; /*--------------------------------- setup *.JLOG file */ diff --git a/src/tripod.hpp b/src/tripod.hpp index 608bc9a..63faed2 100644 --- a/src/tripod.hpp +++ b/src/tripod.hpp @@ -619,7 +619,7 @@ _retv = -2 ; std::cout << - "run tripod jigname.jig"; + "Usage: tripod user-opts.jig" ; std::cout << std::endl ; break ; @@ -655,6 +655,11 @@ break ; } } + if (_retv == -1) + { + std::cout << + "**parse error: *.jig file not found!" << std::endl; + } if (_retv != +0) return ( _retv ) ; /*--------------------------------- setup *.JLOG file */