Skip to content

Commit c51a39d

Browse files
committed
Removed RustFMT changes
1 parent ee60afa commit c51a39d

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

src/libstd/process.rs

+21
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,23 @@ impl Command {
343343

344344
/// Add an argument to pass to the program.
345345
///
346+
/// Only one argument can be passed per use. So instead of:
347+
///
348+
/// ```ignore
349+
/// .arg("-C /path/to/repo")
350+
/// ```
351+
///
352+
/// usage would be:
353+
///
354+
/// ```ignore
355+
/// .arg("-C")
356+
/// .arg("/path/to/repo")
357+
/// ```
358+
///
359+
/// To pass multiple arguments see [`args`].
360+
///
361+
/// [`args`]: #method.args
362+
///
346363
/// # Examples
347364
///
348365
/// Basic usage:
@@ -364,6 +381,10 @@ impl Command {
364381

365382
/// Add multiple arguments to pass to the program.
366383
///
384+
/// To pass a single argument see [`arg`].
385+
///
386+
/// [`arg`]: #method.arg
387+
///
367388
/// # Examples
368389
///
369390
/// Basic usage:

0 commit comments

Comments
 (0)