Missing -e and -L in const, and missing -o and -u in ArgHandler
svn: r11356
This commit is contained in:
parent
d204926dfd
commit
2672033648
@ -55,6 +55,7 @@ from PluginUtils import Tool
|
|||||||
from gen.plug import PluginManager
|
from gen.plug import PluginManager
|
||||||
from ReportBase import CATEGORY_BOOK, CATEGORY_CODE, cl_report
|
from ReportBase import CATEGORY_BOOK, CATEGORY_CODE, cl_report
|
||||||
|
|
||||||
|
# Note: Make sure to edit const.py POPT_TABLE too!
|
||||||
_help = """
|
_help = """
|
||||||
Usage: gramps.py [OPTION...]
|
Usage: gramps.py [OPTION...]
|
||||||
--load-modules=MODULE1,MODULE2,... Dynamic modules to load
|
--load-modules=MODULE1,MODULE2,... Dynamic modules to load
|
||||||
@ -67,13 +68,14 @@ Application options
|
|||||||
-O, --open=FAMILY_TREE Open family tree
|
-O, --open=FAMILY_TREE Open family tree
|
||||||
-i, --import=FILENAME Import file
|
-i, --import=FILENAME Import file
|
||||||
-e, --export=FILENAME Export file
|
-e, --export=FILENAME Export file
|
||||||
|
-o, --output=FILENAME Write file
|
||||||
-f, --format=FORMAT Specify format
|
-f, --format=FORMAT Specify format
|
||||||
-a, --action=ACTION Specify action
|
-a, --action=ACTION Specify action
|
||||||
-p, --options=OPTIONS_STRING Specify options
|
-p, --options=OPTIONS_STRING Specify options
|
||||||
-d, --debug=LOGGER_NAME Enable debug logs
|
-d, --debug=LOGGER_NAME Enable debug logs
|
||||||
-l List Family Trees
|
-l List Family Trees
|
||||||
-L List Family Tree Details
|
-L List Family Tree Details
|
||||||
-u Force unlock of family tree
|
-u, --force-unlock Force unlock of family tree
|
||||||
"""
|
"""
|
||||||
|
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
@ -200,16 +200,19 @@ NO_GIVEN = "(%s)" % _("none")
|
|||||||
#
|
#
|
||||||
#-------------------------------------------------------------------------
|
#-------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Note: Make sure to edit ArgHandler.py _help string too!
|
||||||
# (longName, shortName, type , default, flags, descrip , argDescrip)
|
# (longName, shortName, type , default, flags, descrip , argDescrip)
|
||||||
POPT_TABLE = [
|
POPT_TABLE = [
|
||||||
("open", 'O', str, None, 0, "Open family tree", "FAMILY_TREE"),
|
("open", 'O', str, None, 0, "Open family tree", "FAMILY_TREE"),
|
||||||
("import", 'i', str, None, 0, "Import file", "FILENAME"),
|
("import", 'i', str, None, 0, "Import file", "FILENAME"),
|
||||||
|
("export", 'e', str, None, 0, "Export file", "FILENAME"),
|
||||||
("output", 'o', str, None, 0, "Write file", "FILENAME"),
|
("output", 'o', str, None, 0, "Write file", "FILENAME"),
|
||||||
("format", 'f', str, None, 0, 'Specify format', "FORMAT"),
|
("format", 'f', str, None, 0, 'Specify format', "FORMAT"),
|
||||||
("action", 'a', str, None, 0, 'Specify action', "ACTION"),
|
("action", 'a', str, None, 0, 'Specify action', "ACTION"),
|
||||||
("options", 'p', str, None, 0, 'Specify options', "OPTIONS_STRING"),
|
("options", 'p', str, None, 0, 'Specify options', "OPTIONS_STRING"),
|
||||||
("debug", 'd', str, None, 0, 'Enable debug logs', "LOGGER_NAME"),
|
("debug", 'd', str, None, 0, 'Enable debug logs', "LOGGER_NAME"),
|
||||||
("", 'l', None, None, 0, 'List Family Trees', ""),
|
("", 'l', None, None, 0, 'List Family Trees', ""),
|
||||||
|
("", 'L', None, None, 0, 'List Family Tree Details', ""),
|
||||||
("force-unlock", 'u', None, None, 0, 'Force unlock of family tree', ""),
|
("force-unlock", 'u', None, None, 0, 'Force unlock of family tree', ""),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user