We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3087a1f commit e2b4824Copy full SHA for e2b4824
src/libstd/process.rs
@@ -343,6 +343,23 @@ impl Command {
343
344
/// Add an argument to pass to the program.
345
///
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
355
+ /// .arg("-C")
356
+ /// .arg("/path/to/repo")
357
358
359
+ /// To pass multiple arguments see [`args`].
360
361
+ /// [`args`]: #method.args
362
363
/// # Examples
364
365
/// Basic usage:
@@ -364,6 +381,10 @@ impl Command {
381
382
/// Add multiple arguments to pass to the program.
366
383
384
+ /// To pass a single argument see [`arg`].
385
386
+ /// [`arg`]: #method.arg
387
367
388
368
389
369
390
0 commit comments