Rollup merge of #40312 - jdhorwitz:papercut, r=steveklabnik
Papercut r? @steveklabnik
This commit is contained in:
commit
42cfdc1955
@ -343,6 +343,23 @@ impl Command {
|
||||
|
||||
/// Add an argument to pass to the program.
|
||||
///
|
||||
/// Only one argument can be passed per use. So instead of:
|
||||
///
|
||||
/// ```ignore
|
||||
/// .arg("-C /path/to/repo")
|
||||
/// ```
|
||||
///
|
||||
/// usage would be:
|
||||
///
|
||||
/// ```ignore
|
||||
/// .arg("-C")
|
||||
/// .arg("/path/to/repo")
|
||||
/// ```
|
||||
///
|
||||
/// To pass multiple arguments see [`args`].
|
||||
///
|
||||
/// [`args`]: #method.args
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Basic usage:
|
||||
@ -364,6 +381,10 @@ impl Command {
|
||||
|
||||
/// Add multiple arguments to pass to the program.
|
||||
///
|
||||
/// To pass a single argument see [`arg`].
|
||||
///
|
||||
/// [`arg`]: #method.arg
|
||||
///
|
||||
/// # Examples
|
||||
///
|
||||
/// Basic usage:
|
||||
|
Loading…
Reference in New Issue
Block a user