|
|
@ -119,8 +119,7 @@ impl Builder {
|
|
|
|
/// Builder::new()
|
|
|
|
/// Builder::new()
|
|
|
|
/// .arg("--from-autostart")
|
|
|
|
/// .arg("--from-autostart")
|
|
|
|
/// .arg("--hey")
|
|
|
|
/// .arg("--hey")
|
|
|
|
/// .build()
|
|
|
|
/// .build();
|
|
|
|
/// .unwrap();
|
|
|
|
|
|
|
|
/// ```
|
|
|
|
/// ```
|
|
|
|
pub fn arg<S: Into<String>>(mut self, arg: S) -> Self {
|
|
|
|
pub fn arg<S: Into<String>>(mut self, arg: S) -> Self {
|
|
|
|
self.args.push(arg.into());
|
|
|
|
self.args.push(arg.into());
|
|
|
@ -134,8 +133,7 @@ impl Builder {
|
|
|
|
/// ```no_run
|
|
|
|
/// ```no_run
|
|
|
|
/// Builder::new()
|
|
|
|
/// Builder::new()
|
|
|
|
/// .args(["--from-autostart", "--hey"])
|
|
|
|
/// .args(["--from-autostart", "--hey"])
|
|
|
|
/// .build()
|
|
|
|
/// .build();
|
|
|
|
/// .unwrap();
|
|
|
|
|
|
|
|
/// ```
|
|
|
|
/// ```
|
|
|
|
pub fn args<I, S>(mut self, args: I) -> Self
|
|
|
|
pub fn args<I, S>(mut self, args: I) -> Self
|
|
|
|
where
|
|
|
|
where
|
|
|
|