Add manifest_chromium to README and help message

This commit is contained in:
Ryze 2024-02-14 16:52:45 +03:00
parent a10e8706b8
commit 738015c947
2 changed files with 9 additions and 2 deletions

View file

@ -18,6 +18,11 @@ After that get native messasing host manifest:
```
ff2mpv-rust manifest
```
Or for Chromium/Chrome:
```
ff2mpv-rust manifest_chromium
```
Install it following manual installation instructions on [ff2mpv wiki](https://github.com/woodruffw/ff2mpv/wiki).
# Configuration
@ -35,7 +40,8 @@ See [example configuration](ff2mpv-rust.json).
ff2mpv-rust provides command line interface with following commands:
```
help: prints help message
manifest: prints manifest for browser configuration
manifest: prints manifest for Firefox configuration
manifest_chromium: prints manifest for Chromium/Chrome configuration
validate: checks configration file for validity
```
Note that it won't fail on invalid commands, but instead assume it is called from browser, blocking the input.

View file

@ -31,7 +31,8 @@ impl Command {
println!("Usage: ff2mpv-rust <command>");
println!("Commands:");
println!(" help: prints help message");
println!(" manifest: prints manifest for browser configuration");
println!(" manifest: prints manifest for Firefox configuration");
println!(" manifest_chromium: prints manifest for Chromium/Chrome configuration");
println!(" validate: checks configration file for validity");
println!("Note: Invalid commands won't fail");
println!("Note: It will assume that binary is called from browser, blocking for input");