Make audio optional in usage string

This commit is contained in:
dec05eba 2020-08-27 23:15:52 +02:00
parent 89374d3901
commit b2fc88336a
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@ -3,3 +3,4 @@ sibs-build/
compile_commands.json compile_commands.json
tests/sibs-build/ tests/sibs-build/
tests/compile_commands.json tests/compile_commands.json
.clangd/

View File

@ -555,7 +555,7 @@ static void close_video(AVStream *video_stream, AVFrame *frame) {
} }
static void usage() { static void usage() {
fprintf(stderr, "usage: gpu-screen-recorder -w <window_id> -c <container_format> -f <fps> -a <audio_input>\n"); fprintf(stderr, "usage: gpu-screen-recorder -w <window_id> -c <container_format> -f <fps> [-a <audio_input>]\n");
exit(1); exit(1);
} }