2008-02-25 Łukasz Rymarczyk <yenidai(at)poczta(dot)onet(dot)pl>
* src/ArgHandler.py: add UI Report Names to output 0001826: Command line - viewing available reports nicer to read svn: r10116
This commit is contained in:
parent
21042e7d72
commit
0f8aaff690
@ -1,3 +1,7 @@
|
||||
2008-02-25 Łukasz Rymarczyk <yenidai(at)poczta(dot)onet(dot)pl>
|
||||
* src/ArgHandler.py: add UI Report Names to output
|
||||
0001826: Command line - viewing available reports nicer to read
|
||||
|
||||
2008-02-25 Raphael Ackermann <raphael.ackermann@gmail.com>
|
||||
* src/plugins/GrampsCfg.py: new (GrampsPreferences.update_idformat_entry):
|
||||
add method that sets new ID format preferences in db.
|
||||
|
@ -3,6 +3,7 @@
|
||||
#
|
||||
# Copyright (C) 2000-2006 Donald N. Allingham, A. Roitman
|
||||
# Copyright (C) 2007-2008 B. Malengier
|
||||
# Copyright (C) 2008 Lukasz Rymarczyk
|
||||
#
|
||||
# This program is free software; you can redistribute it and/or modify
|
||||
# it under the terms of the GNU General Public License as published by
|
||||
@ -749,7 +750,12 @@ class ArgHandler:
|
||||
|
||||
print "Unknown report name. Available names are:"
|
||||
for item in cl_list:
|
||||
print " %s" % item[0]
|
||||
# Print cli report name ([item[0]) and GUI report name (item[4])
|
||||
if len(item[0]) <= 25:
|
||||
print " %s%s- %s" % (item[0],
|
||||
" " * (26 - len(item[0])), item[4])
|
||||
else:
|
||||
print " %s\t- %s" % (item[0], item[4])
|
||||
elif action == "tool":
|
||||
try:
|
||||
options_str_dict = dict( [ tuple(chunk.split('=')) for
|
||||
|
Loading…
Reference in New Issue
Block a user