File tree Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Expand file tree Collapse file tree 1 file changed +21
-0
lines changed Original file line number Diff line number Diff 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:
You can’t perform that action at this time.
0 commit comments