Merge identical case clauses

pull/3746/head
Junegunn Choi 2 weeks ago
parent e352b68878
commit 4ab7fdc28e
No known key found for this signature in database
GPG Key ID: 254BC280FEF9C627

@ -1876,9 +1876,7 @@ func parseOptions(opts *Options, allArgs []string) {
opts.Marker = firstLine(nextString(allArgs, &i, "selected sign string required"))
case "--sync":
opts.Sync = true
case "--no-sync":
opts.Sync = false
case "--async":
case "--no-sync", "--async":
opts.Sync = false
case "--no-history":
opts.History = nil

Loading…
Cancel
Save