Skip to content

Commit

Permalink
Update readme with zipsessionsfile cmd.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmigpin committed Feb 22, 2024
1 parent 9f82696 commit e7723cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@ Usage of editor:
output version and exit
-wraplinerune int
code for wrap line rune, can be set to zero (default 8592)
-zipsessionsfile
Save sessions in a zip. Useful for 100+ sessions. Does not delete the plain file. Beware that the file might not be easily editable as in a plain file.
```
<!--__usageSectionEnd__-->

Expand Down
2 changes: 1 addition & 1 deletion editor.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ func main() {
"\tgo,.go,goimports\n"+
"\tcpp,\".cpp .hpp\",\"\\\"clang-format --style={'opt1':1,'opt2':2}\\\"\"\n"+
"\tpython,.py,python_formatter")
flag.BoolVar(&opt.ZipSessionsFile, "zipsessionsfile", false, "Save sessions file insize zip. Does not delete old sessions file.")
flag.BoolVar(&opt.ZipSessionsFile, "zipsessionsfile", false, "Save sessions in a zip. Useful for 100+ sessions. Does not delete the plain file. Beware that the file might not be easily editable as in a plain file.")
cpuProfileFlag := flag.String("cpuprofile", "", "profile cpu filename")
version := flag.Bool("version", false, "output version and exit")

Expand Down

0 comments on commit e7723cf

Please sign in to comment.