pylint fixes and bug fixes for CLI/GUI split
svn: r12677
This commit is contained in:
@ -33,7 +33,6 @@ Module responsible for handling the command line arguments for GRAMPS.
|
||||
# Standard python modules
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import os
|
||||
import sys
|
||||
import getopt
|
||||
from gettext import gettext as _
|
||||
@ -250,6 +249,9 @@ class ArgParser(object):
|
||||
return True
|
||||
|
||||
def print_help(self):
|
||||
"""
|
||||
If the user gives the --help or -h option, print the output to terminal
|
||||
"""
|
||||
if self.help:
|
||||
print _HELP
|
||||
sys.exit(0)
|
||||
|
Reference in New Issue
Block a user