Update helpviewer.py

Trivial changes to comments
This commit is contained in:
david-hughes
2016-07-08 16:26:19 +01:00
committed by GitHub
parent 10808493ab
commit bfcc50ce53

View File

@@ -17,7 +17,7 @@ Usage:
helpviewer [--cache=path] helpfile [helpfile(s)...]
Where helpfile is the path to either a .hhp file or a .zip file
which contians a .hhp file. The .hhp files are the same as those
which contains a .hhp file. The .hhp files are the same as those
used by Microsoft's HTML Help Workshop for creating CHM files.
"""
@@ -74,9 +74,10 @@ def main(args=sys.argv):
# The frame used by the HtmlHelpController is set to not prevent
# app exit, so in the case of a standalone helpviewer like this
# when the about box or search box is closed the help frame will
# be the only one left and the app will close unexpectedly. To
# work around this we'll create another frame that is never shown,
# when the Print dialog is closed the help frame will be the only
# one left and the app will close unexpectedly. [Strangely, this
# doesn't happen when the Options dialog is closed].
# To work around this we'll create another frame that is never shown,
# but which will be closed when the helpviewer frame is closed.
wx.CallAfter(makeOtherFrame, helpctrl)