Skip to content

Commit

Permalink
Fix error in help text for clean. Levels 4 and 5 were missing
Browse files Browse the repository at this point in the history
  • Loading branch information
rikardn committed Feb 11, 2019
1 parent 29dc320 commit 1f1c75c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
2 changes: 1 addition & 1 deletion doc/inputs/basic_options.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
19 changes: 10 additions & 9 deletions lib/common_options.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 1f1c75c

Please sign in to comment.