Skip to content
Myr

Merge identical case clauses

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Junegunn Choi · committed by Junegunn Choi · parent e352b68 · Browse files · 1 file+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−3 removed

  • other:+1 added−3 removed

1 file+1 added−3 removed

modified:src/options.go+1 added-3 removed
1874 unmodified lines
1875 case "--marker":1876 opts.Marker = firstLine(nextString(allArgs, &i, "selected sign string required"))1877 case "--sync":1878 opts.Sync = true1879 case "--no-sync":1879 case "--no-sync", "--async":1880 opts.Sync = false1881 case "--async":1882 opts.Sync = false1881 case "--no-history":1882 opts.History = nil1883 case "--history":1884 setHistory(nextString(allArgs, &i, "history file path required"))
437 unmodified lines