Simplify eval for tempmarks option (#1571)
This commit is contained in:
1 parent
ce32bc67b9
commit
6af25565d4
1 file changed
+1
-5
@@ -840,11 +840,7 @@ func (e *setExpr) eval(app *app, args []string) {
|
||||
case "tagfmt":
|
||||
gOpts.tagfmt = e.val
|
||||
case "tempmarks":
|
||||
if e.val != "" {
|
||||
gOpts.tempmarks = "'" + e.val
|
||||
} else {
|
||||
gOpts.tempmarks = "'"
|
||||
}
|
||||
gOpts.tempmarks = "'" + e.val
|
||||
case "timefmt":
|
||||
gOpts.timefmt = e.val
|
||||
case "truncatechar":
|
||||
|
||||
Reference in new issue
Block a user