aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--src/main.cpp2
2 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 636c6b9..47f12d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@ sibs-build/
compile_commands.json
tests/sibs-build/
tests/compile_commands.json
+.clangd/
diff --git a/src/main.cpp b/src/main.cpp
index c293338..ef1cbdf 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -555,7 +555,7 @@ static void close_video(AVStream *video_stream, AVFrame *frame) {
}
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);
}