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 |
|
|
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 |
|
|
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. |
|
|
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 |
|
|
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 |
|
|
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. |
|
|
129 | force.help), | |
|
130 | 130 | f = ({'HistoryTrim' : {'force' : True}}, |
|
131 |
force. |
|
|
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