Lines Matching defs:replace
1873 /// **Note:** This is gated behind [`unstable-replace`](https://github.com/clap-rs/clap/issues/2836)
1897 /// We could instead use [`Command::replace`] so that, when the user types `cmd
1898 /// install`, `clap` will replace `install` with `module install` which will
1906 /// .replace("install", &["module", "install"])
1928 /// Luckily we can use [`Command::replace`] so that when the user types
1929 /// `--save-all`, `clap` will replace that argument with `--save-context
1943 /// .replace("--save-all", &["--save-context", "--save-runtime"])
1969 /// .replace("--save-all", &["--save-context", "--save-runtime", "--format=json"])
1977 /// [`Command::replace`]: Command::replace()
1979 #[cfg(feature = "unstable-replace")]
1981 pub fn replace(