Skip to content

Commit e4e45af

Browse files
committed
print shorter info for slim
1 parent 276ec9a commit e4e45af

1 file changed

Lines changed: 1 addition & 14 deletions

File tree

core/main.cpp

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -62,19 +62,6 @@ static void PrintUsageAndDie(bool p_print_header, bool p_print_full_usage)
6262

6363
SLIM_OUTSTREAM << "---------------------------------------------------------------------------------" << std::endl << std::endl;
6464

65-
SLIM_OUTSTREAM << "To cite SLiM in publications please use:" << std::endl << std::endl;
66-
SLIM_OUTSTREAM << "Haller, B.C., and Messer, P.W. (2019). SLiM 3: Forward genetic simulations" << std::endl;
67-
SLIM_OUTSTREAM << "beyond the Wright–Fisher model. Molecular Biology and Evolution 36(3), 632-637." << std::endl;
68-
SLIM_OUTSTREAM << "DOI: https://doi.org/10.1093/molbev/msy228" << std::endl << std::endl;
69-
70-
SLIM_OUTSTREAM << "For papers using tree-sequence recording, please cite:" << std::endl << std::endl;
71-
SLIM_OUTSTREAM << "Haller, B.C., Galloway, J., Kelleher, J., Messer, P.W., & Ralph, P.L. (2019)." << std::endl;
72-
SLIM_OUTSTREAM << "Tree‐sequence recording in SLiM opens new horizons for forward‐time simulation" << std::endl;
73-
SLIM_OUTSTREAM << "of whole genomes. Molecular Ecology Resources 19(2), 552-566." << std::endl;
74-
SLIM_OUTSTREAM << "DOI: https://doi.org/10.1111/1755-0998.12968" << std::endl << std::endl;
75-
76-
SLIM_OUTSTREAM << "---------------------------------------------------------------------------------" << std::endl << std::endl;
77-
7865
SLIM_OUTSTREAM << "SLiM home page: http://messerlab.org/slim/" << std::endl;
7966
SLIM_OUTSTREAM << "slim-announce mailing list: https://groups.google.com/d/forum/slim-announce" << std::endl;
8067
SLIM_OUTSTREAM << "slim-discuss mailing list: https://groups.google.com/d/forum/slim-discuss" << std::endl << std::endl;
@@ -163,7 +150,7 @@ int main(int argc, char *argv[])
163150

164151
// "slim" with no arguments prints usage, *unless* stdin is not a tty, in which case we're running the stdin script
165152
if ((argc == 1) && isatty(fileno(stdin)))
166-
PrintUsageAndDie(true, true);
153+
PrintUsageAndDie(true, false);
167154

168155
for (int arg_index = 1; arg_index < argc; ++arg_index)
169156
{

0 commit comments

Comments
 (0)