document save_history command and a few more small tweaks

This commit is contained in:
Axel Kohlmeyer
2020-10-11 15:45:07 -04:00
parent 556d48f1dc
commit ee98ecc7bb
3 changed files with 11 additions and 3 deletions

View File

@ -88,6 +88,10 @@ regular LAMMPS commands:
- help (or ?) print a brief help message
- history display the current command history list
- clear_history wipe out the current command history list
- save_history <range> <file>
write commands from the history to file.
The range is given as <from>-<to>, where <from> and <to>
may be empty. Example: save_history 100- in.recent
- source <file> read commands from file (same as "include")
- pwd print current working directory
- cd <directory> change current working directory (same as pwd if no directory)

View File

@ -666,7 +666,7 @@ int main(int argc, char **argv)
std::string trimmed;
lammps_get_os_info(buf, buflen);
std::cout << "LAMMPS Shell version 1.0 OS: " << buf;
std::cout << "LAMMPS Shell version 1.1 OS: " << buf;
if (!lammps_config_has_exceptions())
std::cout << "WARNING: LAMMPS was compiled without exceptions\n"