diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-08-27 23:15:52 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-27 23:15:52 +0200 |
commit | b2fc88336a3e10dfdf5892e12974d5982a6ff524 (patch) | |
tree | e339bf73a344a0cec270683295a98268e129ae3a | |
parent | 89374d3901f061edfe8187909e40b49d1b88146a (diff) |
Make audio optional in usage string
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | src/main.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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); } |