From facb363608b233408ec6f0ba11a0fe5392f5c7d7 Mon Sep 17 00:00:00 2001 From: Moss Date: Wed, 28 Sep 2022 23:15:20 -0400 Subject: [PATCH] Readme: Added Options to Readme --- readme.md | 14 +++++++++++--- src/main.cpp | 10 +++++----- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/readme.md b/readme.md index 640f6c4..0b3af6c 100644 --- a/readme.md +++ b/readme.md @@ -51,10 +51,18 @@ go to settings > privacy and security > cookies > see all cookies > vhx.tv > __c copy the `content` and paste it into the `cookie` file \ this needs to be redone every time the cookies expire (~30 minutes) -## how to use -run the command +## How to Use ``` -./dropout-dl +./dropout-dl [OPTIONS] +``` + +### Options +``` +--help Display this message +--quality Set the quality of the downloaded video. Quality can be set to 'all' which + will download all qualities and place them into separate folders +--verbose Display debug information while running +--force-cookies Interpret the next to arguments as authentication cookie and session cookie ``` dropout-dl will download the episode into a folder with the name of the series in the format `SE.mp4` \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 3ffe829..96224a1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -366,11 +366,11 @@ public: std::cout << "Usage: dropout-dl [OPTIONS] [OPTIONS]\n" "\n" "Options:\n" - "\t--help\t\t\t\tDisplay this message\n" - "\t--quality\t\t\tSet the quality of the downloaded video. Quality can be set to 'all' which\n" - "\t\t\t\t\t\twill download all qualities and place them into separate folders\n" - "\t--verbose\t\t\tDisplay debug information while running\n" - "\t--force-cookies\t\tInterpret the next to arguments as authentication cookie and session cookie\n" + "\t--help Display this message\n" + "\t--quality Set the quality of the downloaded video. Quality can be set to 'all' which\n" + "\t will download all qualities and place them into separate folders\n" + "\t--verbose Display debug information while running\n" + "\t--force-cookies Interpret the next to arguments as authentication cookie and session cookie\n" << std::endl; exit(0);