File tree 1 file changed +21
-0
lines changed
1 file changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,23 @@ impl Command {
343
343
344
344
/// Add an argument to pass to the program.
345
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
+ /// ```ignore
355
+ /// .arg("-C")
356
+ /// .arg("/path/to/repo")
357
+ /// ```
358
+ ///
359
+ /// To pass multiple arguments see [`args`].
360
+ ///
361
+ /// [`args`]: #method.args
362
+ ///
346
363
/// # Examples
347
364
///
348
365
/// Basic usage:
@@ -364,6 +381,10 @@ impl Command {
364
381
365
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
/// # Examples
368
389
///
369
390
/// Basic usage:
You can’t perform that action at this time.
0 commit comments