From 1f1c75c26fe1126ff2ce7256482d753e88699ae7 Mon Sep 17 00:00:00 2001 From: Rikard Nordgren Date: Mon, 11 Feb 2019 16:46:58 +0100 Subject: [PATCH] Fix error in help text for clean. Levels 4 and 5 were missing --- doc/inputs/basic_options.tex | 2 +- lib/common_options.pm | 19 ++++++++++--------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/doc/inputs/basic_options.tex b/doc/inputs/basic_options.tex index b4f828b88..202f7851d 100644 --- a/doc/inputs/basic_options.tex +++ b/doc/inputs/basic_options.tex @@ -6,7 +6,7 @@ With -help all programs will print a longer help message. If an option name is given as argument, help will be printed for this option. If no option is specified, help text for all options will be printed. \nextopt \optdefault{clean}{integer} -Default is 1. The clean option can take five different values: +Default is 1. The clean option can take six different values: \begin{description} \item[0] Nothing is removed \item[1] NONMEM binary and intermediate files except INTER are removed, and files specified with option -extra\_files. diff --git a/lib/common_options.pm b/lib/common_options.pm index 6a8f68c6b..8532f2e55 100644 --- a/lib/common_options.pm +++ b/lib/common_options.pm @@ -902,16 +902,17 @@ EOF is used, only models which first pass the picky test will be considered. EOF - $help_hash{-clean} = <<'EOF'; - -clean='integer 0-3' +$help_hash{-clean} = <<'EOF'; + -clean='integer 0-5' + + Default is 1. The clean option can take six different values The -clean clean option can take four different values: - 0 - means that nothing is removed, - 1 - NONMEM binary and intermediate files except INTER are removed, and files specified with - option -extra_files (this is the default), - 2 - model and output files generated by PsN restarts are removed, and data files - in the NM_run directory, - 3 - the whole NM_run directory is removed - and if it is not an "execute" command, all modelfit_dirs will be removed. + 0 - Nothing is removed + 1 - NONMEM binary and intermediate files except INTER are removed, and files specified with option -extra\_files. + 2 - model and output files generated by PsN restarts are removed, and data files in the NM\_run directory, and (if option -nmqual is used) the xml-formatted NONMEM output. + 3 - All NM\_run directories are completely removed. If the PsN tool has created modelfit\_dir:s inside the main run directory, these will also be removed. + 4 - All NM\_run directories and all m1 directories are completely removed. + 5 - The entire run directory is removed. This is only useful for execute. The lst-file will be copied even if the run failed. EOF $help_hash{-missing_data_token} = <<'EOF';