docs: update comment for prelude option

This commit is contained in:
itsKaynine
2023-03-19 03:06:21 +07:00
parent f703d9be78
commit 7a2729d994
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ $ electron-injector --script=/path/to/script.js /path/to/electron/app
-p, --port <PORT> The remote debugging port [default: 8315]
-t, --timeout <TIMEOUT> Timeout in ms for injecting scripts [default: 10000]
-d, --delay <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.

View File

@@ -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,
}