Issue 4733; improved help and sparate command for show and set config settings.
svn: r16812
This commit is contained in:
parent
90616376ed
commit
f7ab37fb83
@ -237,7 +237,7 @@ NO_GIVEN = "(%s)" % _("none")
|
|||||||
# Note: Make sure to edit argparser.py _help string too!
|
# Note: Make sure to edit argparser.py _help string too!
|
||||||
# (longName, shortName, type , default, flags, descrip , argDescrip)
|
# (longName, shortName, type , default, flags, descrip , argDescrip)
|
||||||
POPT_TABLE = [
|
POPT_TABLE = [
|
||||||
("config", 'c', str, None, 0, "Set config setting", ""),
|
("config", 'c', str, None, 0, "Set config setting(s) and start Gramps", ""),
|
||||||
("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"),
|
("export", 'e', str, None, 0, "Export file", "FILENAME"),
|
||||||
@ -247,8 +247,9 @@ POPT_TABLE = [
|
|||||||
("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', ""),
|
("", 'L', None, None, 0, 'List Family Tree Details', ""),
|
||||||
|
("show", 's', None, None, 0, "Show config settings", ""),
|
||||||
("force-unlock", 'u', None, None, 0, 'Force unlock of family tree', ""),
|
("force-unlock", 'u', None, None, 0, 'Force unlock of family tree', ""),
|
||||||
("version", 'v', None, None, 0, 'Show versions and settings', ""),
|
("version", 'v', None, None, 0, 'Show versions', ""),
|
||||||
]
|
]
|
||||||
|
|
||||||
LONGOPTS = [
|
LONGOPTS = [
|
||||||
@ -281,6 +282,7 @@ LONGOPTS = [
|
|||||||
"open=",
|
"open=",
|
||||||
"options=",
|
"options=",
|
||||||
"screen=",
|
"screen=",
|
||||||
|
"show",
|
||||||
"sm-client-id=",
|
"sm-client-id=",
|
||||||
"sm-config-prefix=",
|
"sm-config-prefix=",
|
||||||
"sm-disable",
|
"sm-disable",
|
||||||
@ -290,6 +292,6 @@ LONGOPTS = [
|
|||||||
"qml",
|
"qml",
|
||||||
]
|
]
|
||||||
|
|
||||||
SHORTOPTS = "O:i:e:f:a:p:d:lLhuv?c"
|
SHORTOPTS = "O:i:e:f:a:p:d:c:lLhuv?s"
|
||||||
|
|
||||||
GRAMPS_UUID = uuid.UUID('516cd010-5a41-470f-99f8-eb22f1098ad6')
|
GRAMPS_UUID = uuid.UUID('516cd010-5a41-470f-99f8-eb22f1098ad6')
|
||||||
|
Loading…
Reference in New Issue
Block a user