From 738015c947d5ac801e26b2eff924cf9e5ddd29bb Mon Sep 17 00:00:00 2001 From: Ryze <50497128+ryze312@users.noreply.github.com> Date: Wed, 14 Feb 2024 16:52:45 +0300 Subject: [PATCH] Add manifest_chromium to README and help message --- README.md | 8 +++++++- src/command.rs | 3 ++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7f66aa1..f9aca98 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/src/command.rs b/src/command.rs index 77bcd8d..4f56442 100644 --- a/src/command.rs +++ b/src/command.rs @@ -31,7 +31,8 @@ impl Command { println!("Usage: ff2mpv-rust "); 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");