From 7a2729d994f618f7f2c0fd9ae158e1dddd4e6923 Mon Sep 17 00:00:00 2001 From: itsKaynine Date: Sun, 19 Mar 2023 03:06:21 +0700 Subject: [PATCH] docs: update comment for prelude option --- README.md | 4 ++-- src/config.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0a1348c..be29ecb 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ $ electron-injector --script=/path/to/script.js /path/to/electron/app -p, --port The remote debugging port [default: 8315] -t, --timeout Timeout in ms for injecting scripts [default: 10000] -d, --delay Delay in ms to wait after spawning the process [default: 10000] - --prelude Enable prelude script + --prelude Inject prelude script -h, --help Print help -V, --version Print version ``` @@ -50,4 +50,4 @@ We welcome contributions from the community. To contribute to `electron-injector ## License -electron-injector is dual licensed under the [MIT License](https://opensource.org/licenses/MIT) and [Apache-2.0 License](https://opensource.org/licenses/Apache-2.0). See the LICENSE-MIT and LICENSE-APACHE-2.0 files for more information. +`electron-injector` is dual licensed under the [MIT License](https://opensource.org/licenses/MIT) and [Apache-2.0 License](https://opensource.org/licenses/Apache-2.0). See the LICENSE-MIT and LICENSE-APACHE-2.0 files for more information. diff --git a/src/config.rs b/src/config.rs index f0514a3..bdd03a3 100644 --- a/src/config.rs +++ b/src/config.rs @@ -50,7 +50,7 @@ pub struct Config { #[arg(short, long, default_value_t = 10_000)] pub delay: u64, - /// Enable prelude script + /// Inject prelude script #[arg(long)] pub prelude: bool, }