git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14025 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2015-09-11 14:49:37 +00:00
parent b1090f8689
commit 9effcca0df
8 changed files with 49 additions and 24 deletions

View File

@ -507,11 +507,11 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator)
memory->destroy(pfirst);
memory->destroy(plast);
// if helpflag set, print help and quit
// if helpflag set, print help and quit with "success" status
if (helpflag) {
if (universe->me == 0 && screen) help();
error->done();
error->done(0);
}
// if restartflag set, invoke 2 commands and quit
@ -528,7 +528,7 @@ LAMMPS::LAMMPS(int narg, char **arg, MPI_Comm communicator)
sprintf(&cmd[strlen(cmd)]," %s",arg[iarg]);
strcat(cmd," noinit\n");
input->one(cmd);
error->done();
error->done(0);
}
}