Skip to content

Commit

Permalink
Rollup merge of rust-lang#40312 - jdhorwitz:papercut, r=steveklabnik
Browse files Browse the repository at this point in the history
Papercut

r? @steveklabnik
  • Loading branch information
frewsxcv authored Mar 9, 2017
2 parents 359377d + c51a39d commit c134617
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/libstd/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit c134617

Please sign in to comment.