diff --git a/doc/cpptraj.lyx b/doc/cpptraj.lyx index 6641ba7a18..6c06584d01 100644 --- a/doc/cpptraj.lyx +++ b/doc/cpptraj.lyx @@ -13743,7 +13743,14 @@ change [parm | parmindex <#> | <#> | \begin_layout LyX-Code bondparm [] {setrk|scalerk|setreq|scalereq} - } +\end_layout + +\begin_layout LyX-Code + {mass|charge} [of ] {to |fromset } +\end_layout + +\begin_layout LyX-Code + } \end_layout \begin_deeper @@ -14033,6 +14040,41 @@ setreq Set bond equilibrium lengths to . scalereq Scale bond equilibirum lengths by . \end_layout +\end_deeper +\begin_layout Description +mass|charge Change mass or charge in specified topology. +\end_layout + +\begin_deeper +\begin_layout Description +of +\begin_inset space ~ +\end_inset + + Atoms to change mass/charge of. +\end_layout + +\begin_layout Description +to +\begin_inset space ~ +\end_inset + + Value to change mass/charge to. +\end_layout + +\begin_layout Description +fromset +\begin_inset space ~ +\end_inset + + Use values in for mass/charge; must have the same number + of values as atoms selected by . +\end_layout + \end_deeper \end_deeper \begin_layout Standard diff --git a/src/Exec_Change.cpp b/src/Exec_Change.cpp index 4aa06b21b4..c87d3b8a7d 100644 --- a/src/Exec_Change.cpp +++ b/src/Exec_Change.cpp @@ -18,8 +18,8 @@ void Exec_Change::Help() const "\t addbond [req ] |\n" "\t removebonds [] [out ]}\n" "\t bondparm [] {setrk|scalerk|setreq|scalereq} \n" - "\t mass [of ] {to |fromset }\n" - "\t charge [of ] {to |fromset }\n" + "\t {mass|charge} [of ] {to |fromset }\n" + "\t}\n" " Change specified parts of topology or topology of a COORDS data set.\n", DataSetList::TopArgs); }