Update README

This commit is contained in:
2022-11-01 21:46:05 +01:00
parent e02c3c38aa
commit 0e3ce083a5
2 changed files with 9 additions and 2 deletions

View File

@@ -1,3 +1,10 @@
# obs-cli # obs-cli
A command line tool for obs obs-cli is a simple cli tool for planned OBS recordings.
## Usage
* `-s`, `--start-minutes` `<START_MINUTES>`: Define the minutes where the recording should start [default: 0]
* `-d`, `--duration-minutes` `<DURATION_MINUTES>`: Define the duration of the recording in minutes [default: 1]
* `-p`, `--poweroff`: Flag to shutdown the machine after recording
* `-h`, `--help`: Print help information
* `-V`, `--version`: Print version information

View File

@@ -78,7 +78,7 @@ async fn shutdown() -> Result<(), anyhow::Error> {
} }
// obs-cli is a simple cli tool for planned obs recordings /// obs-cli is a simple cli tool for planned OBS recordings
#[derive(Parser, Debug)] #[derive(Parser, Debug)]
#[command(author, version, about, long_about = None)] #[command(author, version, about, long_about = None)]
struct Args { struct Args {