File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -132,6 +132,10 @@ def __init__(self):
132132 _ ("Have 'display designator' and 'specification class' show\n "
133133 " protected fields: creator, id etc.\n " ),
134134
135+ 'history_length' :
136+ _ ("Set the number of lines of history to keep for this session.\n "
137+ " -1 is infinite.\n " ),
138+
135139 'indexer_backend' :
136140 _ ("Set indexer to use when running 'reindex' NYI\n " ),
137141
@@ -1508,7 +1512,11 @@ def do_pragma(self, args):
15081512 continue
15091513 print (" %s=%s" % (key , self .settings [key ]))
15101514 if is_verbose :
1511- print (" %s" % self .settings_help [key ])
1515+ try :
1516+ print (" %s" % self .settings_help [key ])
1517+ except KeyError :
1518+ print (_ (" Help for this pragma is missing. "
1519+ "Please report it to the Roundup project.\n " ))
15121520
15131521 return
15141522
You can’t perform that action at this time.
0 commit comments