mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-09-11 07:55:34 +03:00
chore(cli/help): mention the need for a second --
in tauri dev
(#8388)
* chore(cli/help): mention the need for a second `--` in `tauri dev` ref: https://github.com/tauri-apps/tauri/issues/8382#issuecomment-1854016310 * add example to clarify [skip ci] --------- Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
parent
f9c97b7e5b
commit
c1bc4d2948
@ -53,7 +53,7 @@ pub struct Options {
|
||||
/// JSON string or path to JSON file to merge with tauri.conf.json
|
||||
#[clap(short, long)]
|
||||
pub config: Option<String>,
|
||||
/// Command line arguments passed to the runner
|
||||
/// Command line arguments passed to the runner. Use `--` to explicitly mark the start of the arguments.
|
||||
pub args: Vec<String>,
|
||||
/// Skip prompting for values
|
||||
#[clap(long)]
|
||||
|
@ -56,7 +56,9 @@ pub struct Options {
|
||||
/// Run the code in release mode
|
||||
#[clap(long = "release")]
|
||||
pub release_mode: bool,
|
||||
/// Command line arguments passed to the runner. Arguments after `--` are passed to the application.
|
||||
/// Command line arguments passed to the runner.
|
||||
/// Use `--` to explicitly mark the start of the arguments. Arguments after a second `--` are passed to the application
|
||||
/// e.g. `tauri dev -- [runnerArgs] -- [appArgs]`.
|
||||
pub args: Vec<String>,
|
||||
/// Disable the file watcher
|
||||
#[clap(long)]
|
||||
|
Loading…
Reference in New Issue
Block a user