Rollup merge of #40312 - jdhorwitz:papercut, r=steveklabnik
Papercut r? @steveklabnik
This commit is contained in:
@@ -343,6 +343,23 @@ impl Command {
|
|||||||
|
|
||||||
/// Add an argument to pass to the program.
|
/// 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
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// Basic usage:
|
/// Basic usage:
|
||||||
@@ -364,6 +381,10 @@ impl Command {
|
|||||||
|
|
||||||
/// Add multiple arguments to pass to the program.
|
/// Add multiple arguments to pass to the program.
|
||||||
///
|
///
|
||||||
|
/// To pass a single argument see [`arg`].
|
||||||
|
///
|
||||||
|
/// [`arg`]: #method.arg
|
||||||
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
/// Basic usage:
|
/// Basic usage:
|
||||||
|
|||||||
Reference in New Issue
Block a user