aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-27 23:15:52 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-27 23:15:52 +0200
commitb2fc88336a3e10dfdf5892e12974d5982a6ff524 (patch)
treee339bf73a344a0cec270683295a98268e129ae3a /src/main.cpp
parent89374d3901f061edfe8187909e40b49d1b88146a (diff)
Make audio optional in usage string
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}