From 6e52dfee879fd21c8e3a3b8c5d8d699f06a44c04 Mon Sep 17 00:00:00 2001 From: Martin Scheidt Date: Thu, 9 Jun 2022 15:10:59 +0200 Subject: [PATCH] enhanced help message --- src/TrainRuns.jl | 2 +- src/constructors.jl | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/TrainRuns.jl b/src/TrainRuns.jl index f5a9efa..754a3e6 100644 --- a/src/TrainRuns.jl +++ b/src/TrainRuns.jl @@ -40,7 +40,7 @@ The running time will be return in seconds. # Examples ```julia-repl -julia> trainrun(train, path) +julia> trainrun(train, path)[end,:t] xxx.xx # in seconds ``` """ diff --git a/src/constructors.jl b/src/constructors.jl index 1adc3ac..556cfea 100644 --- a/src/constructors.jl +++ b/src/constructors.jl @@ -14,7 +14,8 @@ The function Settings() will create a set of settings for the train run calculat # Example ``` julia> my_settings = Settings() # will generate default settings -Settings(mass_point, :distance, 20, 3, running_time, :dataframe) +# massModel, stepVariable, stepSize, approxLevel, outputDetail, outputFormat +Settings(:mass_point, :distance, 20, 3, :running_time, :dataframe) ``` """ function Settings(file="DEFAULT")