Skip to content

Commit 26d4caa

Browse files
committed
Rename doNotDrawMouse flag to noMouse
1 parent b3b0b6f commit 26d4caa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/args.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const parseArgs = async () => {
1818
pixelFormat: "yuv444p",
1919
outputFormat: "matroska",
2020
doNotReplaceExisting: false,
21-
doNotDrawMouse: false,
21+
noMouse: false,
2222
};
2323

2424
const parser = yargs(process.argv.slice(2))
@@ -77,9 +77,9 @@ const parseArgs = async () => {
7777
type: "boolean",
7878
default: defaults.doNotReplaceExisting,
7979
},
80-
doNotDrawMouse: {
80+
noMouse: {
8181
type: "boolean",
82-
default: defaults.doNotDrawMouse,
82+
default: defaults.noMouse,
8383
},
8484
})
8585
.strict();
@@ -88,7 +88,7 @@ const parseArgs = async () => {
8888
r: rate,
8989
i: input,
9090
alsaAudio,
91-
doNotDrawMouse,
91+
noMouse,
9292
selectRegion,
9393
windowId,
9494
probeSize,
@@ -110,7 +110,7 @@ const parseArgs = async () => {
110110
"-thread_queue_size",
111111
defaults.threadQueueSize,
112112
"-draw_mouse",
113-
doNotDrawMouse ? "0" : "1",
113+
noMouse ? "0" : "1",
114114
"-select_region",
115115
selectRegion ? "1" : "0",
116116
"-show_region",

0 commit comments

Comments
 (0)