Rollup merge of #40312 - jdhorwitz:papercut, r=steveklabnik

Papercut

r? @steveklabnik
This commit is contained in:
Corey Farwell 2017-03-20 23:44:56 -04:00 committed by GitHub
commit 42cfdc1955
1 changed files with 21 additions and 0 deletions

View File

@ -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: