##// END OF EJS Templates
Merge pull request #9464 from Carreau/t42-historyapp...
Thomas Kluyver -
r22329:1dff0bc8 merge
parent child Browse files
Show More
@@ -34,15 +34,15 b' This is an handy alias to `ipython history trim --keep=0`'
34 34 class HistoryTrim(BaseIPythonApplication):
35 35 description = trim_hist_help
36 36
37 backup = Bool(False, config=True,
37 backup = Bool(False).tag(config=True,
38 38 help="Keep the old history file as history.sqlite.<N>")
39 39
40 keep = Int(1000, config=True,
40 keep = Int(1000).tag(config=True,
41 41 help="Number of recent lines to keep in the database.")
42 42
43 43 flags = Dict(dict(
44 44 backup = ({'HistoryTrim' : {'backup' : True}},
45 backup.get_metadata('help')
45 backup.help
46 46 )
47 47 ))
48 48
@@ -118,17 +118,17 b' class HistoryTrim(BaseIPythonApplication):'
118 118
119 119 class HistoryClear(HistoryTrim):
120 120 description = clear_hist_help
121 keep = Int(0, config=False,
121 keep = Int(0).tag(config=False,
122 122 help="Number of recent lines to keep in the database.")
123 123
124 force = Bool(False, config=True,
124 force = Bool(False).tag(config=True,
125 125 help="Don't prompt user for confirmation")
126 126
127 127 flags = Dict(dict(
128 128 force = ({'HistoryClear' : {'force' : True}},
129 force.get_metadata('help')),
129 force.help),
130 130 f = ({'HistoryTrim' : {'force' : True}},
131 force.get_metadata('help')
131 force.help
132 132 )
133 133 ))
134 134 aliases = Dict()
General Comments 0
You need to be logged in to leave comments. Login now