diff --git a/UnicodePlot.html b/UnicodePlot.html index 01f2688..79270f2 100644 --- a/UnicodePlot.html +++ b/UnicodePlot.html @@ -241,7 +241,7 @@
diff --git a/YouPlot.html b/YouPlot.html index 65a5162..de9528b 100644 --- a/YouPlot.html +++ b/YouPlot.html @@ -296,7 +296,7 @@ diff --git a/YouPlot/Backends.html b/YouPlot/Backends.html index a77bfe3..61a3338 100644 --- a/YouPlot/Backends.html +++ b/YouPlot/Backends.html @@ -118,7 +118,7 @@ diff --git a/YouPlot/Backends/Processing.html b/YouPlot/Backends/Processing.html index 97bde90..b438e5f 100644 --- a/YouPlot/Backends/Processing.html +++ b/YouPlot/Backends/Processing.html @@ -208,7 +208,7 @@ diff --git a/YouPlot/Backends/UnicodePlot.html b/YouPlot/Backends/UnicodePlot.html index 859d9cf..69a182d 100644 --- a/YouPlot/Backends/UnicodePlot.html +++ b/YouPlot/Backends/UnicodePlot.html @@ -1070,7 +1070,7 @@ diff --git a/YouPlot/Backends/UnicodePlot/Error.html b/YouPlot/Backends/UnicodePlot/Error.html index ed19164..b2801e4 100644 --- a/YouPlot/Backends/UnicodePlot/Error.html +++ b/YouPlot/Backends/UnicodePlot/Error.html @@ -114,7 +114,7 @@ diff --git a/YouPlot/Command.html b/YouPlot/Command.html index 3aa2f14..3ab5b1a 100644 --- a/YouPlot/Command.html +++ b/YouPlot/Command.html @@ -767,7 +767,7 @@ diff --git a/YouPlot/DSV.html b/YouPlot/DSV.html index d11e43f..6642abe 100644 --- a/YouPlot/DSV.html +++ b/YouPlot/DSV.html @@ -460,7 +460,7 @@ diff --git a/YouPlot/Data.html b/YouPlot/Data.html index d19bb74..7cd3b42 100644 --- a/YouPlot/Data.html +++ b/YouPlot/Data.html @@ -300,7 +300,7 @@ diff --git a/YouPlot/Options.html b/YouPlot/Options.html index 3bf46bf..fdbd824 100644 --- a/YouPlot/Options.html +++ b/YouPlot/Options.html @@ -1103,7 +1103,7 @@ diff --git a/YouPlot/Parameters.html b/YouPlot/Parameters.html index 4c32599..f3b7e73 100644 --- a/YouPlot/Parameters.html +++ b/YouPlot/Parameters.html @@ -1881,7 +1881,7 @@ diff --git a/YouPlot/Parser.html b/YouPlot/Parser.html index ef48012..67015d5 100644 --- a/YouPlot/Parser.html +++ b/YouPlot/Parser.html @@ -1310,7 +1310,7 @@ elsif param_members.include?(k) @params[k] ||= v else - raise Error, "Unknown option/param: #{k}" + raise Error, "Unknown option/param in config file: #{k}" end end end @@ -1808,7 +1808,7 @@ show_config_info else - = "uplot: unrecognized command '#{command}'" + = "YouPlot: unrecognized command '#{command}'" raise Error, unless YouPlot.run_as_executable? warn @@ -1900,7 +1900,12 @@ 400 401 402 -403 +403 +404 +405 +406 +407 +408# File 'lib/youplot/parser.rb', line 385 @@ -1909,7 +1914,7 @@ begin create_main_parser.order!(argv) rescue OptionParser::ParseError => e - warn "uplot: #{e.}" + warn "YouPlot: #{e.}" exit 1 if YouPlot.run_as_executable? end @@ -1918,11 +1923,16 @@ begin create_sub_parser&.parse!(argv) rescue OptionParser::ParseError => e - warn "uplot: #{e.}" + warn "YouPlot: #{e.}" exit 1 if YouPlot.run_as_executable? end - apply_config_file + begin + apply_config_file + rescue StandardError => e + warn "YouPlot: #{e.}" + exit 1 if YouPlot.run_as_executable? + end end