summaryrefslogtreecommitdiffstats
path: root/src/core.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-09-15 19:04:53 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-09-15 19:04:53 +0900
commit2022a3ad96f027e056e4fcce11fee0976db657d1 (patch)
treeea0d8c2f34c38577b994971c7a186760223210c9 /src/core.go
parent65d9d416b4300e85304fd158d9df2f6272590849 (diff)
Replace --header-file with --header (#346)
and allow using --header and --header-lines at the same time. Close #346.
Diffstat (limited to 'src/core.go')
-rw-r--r--src/core.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core.go b/src/core.go
index 04b6eab7..35d7cedb 100644
--- a/src/core.go
+++ b/src/core.go
@@ -238,7 +238,7 @@ func Run(opts *Options) {
}
case EvtHeader:
- terminal.UpdateHeader(value.([]string), opts.HeaderLines)
+ terminal.UpdateHeader(value.([]string))
case EvtSearchFin:
switch val := value.(type) {