diff options
author | Junegunn Choi <junegunn.c@gmail.com> | 2024-04-25 16:34:05 +0900 |
---|---|---|
committer | Junegunn Choi <junegunn.c@gmail.com> | 2024-04-25 16:34:05 +0900 |
commit | 4ab7fdc28e06b73e3f4e0054a18a377db5079396 (patch) | |
tree | 4bc5ce0547ec6fa6b27767d4551213190d4803cf /src | |
parent | e352b6887849cb6c3c8ae1d98ed357f94273e90a (diff) |
Merge identical case clauses
Diffstat (limited to 'src')
-rw-r--r-- | src/options.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/options.go b/src/options.go index a5173cf9..4ba8538f 100644 --- a/src/options.go +++ b/src/options.go @@ -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 |