diff options
| author | bors <bors@rust-lang.org> | 2017-03-21 17:02:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2017-03-21 17:02:38 +0000 |
| commit | 58c701f5c7dc26d9b55c631006ece52abe1ddce2 (patch) | |
| tree | e14d7a2767b4356590cc377267e3307275ed07f6 /src/libstd/process.rs | |
| parent | 53eb08bedc8719844bb553dbe1a39d9010783ff5 (diff) | |
| parent | b6240e51ae5657db0185002e725a5a717987fee0 (diff) | |
| download | rust-58c701f5c7dc26d9b55c631006ece52abe1ddce2.tar.gz rust-58c701f5c7dc26d9b55c631006ece52abe1ddce2.zip | |
Auto merge of #40693 - frewsxcv:rollup, r=frewsxcv
Rollup of 10 pull requests - Successful merges: #40229, #40312, #40332, #40502, #40556, #40576, #40667, #40671, #40681, #40685 - Failed merges:
Diffstat (limited to 'src/libstd/process.rs')
| -rw-r--r-- | src/libstd/process.rs | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/libstd/process.rs b/src/libstd/process.rs index 97c48ee5903..7a85e588662 100644 --- a/src/libstd/process.rs +++ b/src/libstd/process.rs @@ -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: |
