Author: bugman Date: Mon May 7 18:52:50 2012 New Revision: 16068 URL: http://svn.gna.org/viewcvs/relax?rev=16068&view=rev Log: The 'additional' sections are now shown before the 'examples' section in the prompt help system. Modified: branches/uf_redesign/prompt/objects.py Modified: branches/uf_redesign/prompt/objects.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/prompt/objects.py?rev=16068&r1=16067&r2=16068&view=diff ============================================================================== --- branches/uf_redesign/prompt/objects.py (original) +++ branches/uf_redesign/prompt/objects.py Mon May 7 18:52:50 2012 @@ -258,14 +258,14 @@ self.__relax_help__ += _build_subtitle("Description") self.__relax_help__ += _format_text(self._desc) - # Add the examples. - if self._examples != None: - self.__relax_help__ += '\n%s' % _build_subtitle("Examples") - self.__relax_help__ += _format_text(self._examples) - # Add the additional sections. if self._additional != None: # Loop over each section. for i in range(len(self._additional)): self.__relax_help__ += '\n%s' % _build_subtitle(self._additional[i][0]) self.__relax_help__ += _format_text(self._additional[i][1]) + + # Add the examples. + if self._examples != None: + self.__relax_help__ += '\n%s' % _build_subtitle("Examples") + self.__relax_help__ += _format_text(self._examples)