summaryrefslogtreecommitdiffstats
path: root/tests/testsuite/cargo_add/invalid_arg/stderr.log
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testsuite/cargo_add/invalid_arg/stderr.log')
-rw-r--r--tests/testsuite/cargo_add/invalid_arg/stderr.log9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/testsuite/cargo_add/invalid_arg/stderr.log b/tests/testsuite/cargo_add/invalid_arg/stderr.log
new file mode 100644
index 0000000..b5ee3cc
--- /dev/null
+++ b/tests/testsuite/cargo_add/invalid_arg/stderr.log
@@ -0,0 +1,9 @@
+error: unexpected argument '--flag' found
+
+ note: argument '--tag' exists
+
+Usage: cargo add [OPTIONS] <DEP>[@<VERSION>] ...
+ cargo add [OPTIONS] --path <PATH> ...
+ cargo add [OPTIONS] --git <URL> ...
+
+For more information, try '--help'.