add a command line parameter for single use

cc #177
This commit is contained in:
Gokcehan committed 2021-05-19 23:38:05 +03:00
1 parent d6acf4a6ec
commit 7cdb7495ea
11 files changed
+162 -54

No files matched your search

+4
View File
@@ -38,6 +38,10 @@ func run() {
nav := newNav(ui.wins[0].h)
app := newApp(ui, nav)
if err := nav.sync(); err != nil {
app.ui.echoerrf("sync: %s", err)
}
if err := app.nav.readMarks(); err != nil {
app.ui.echoerrf("reading marks file: %s", err)
}