浏览代码

cargo-report: add page (#10798)

Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
Sunil Thunga 1 年之前
父节点
当前提交
24b56f0643
共有 1 个文件被更改,包括 16 次插入0 次删除
  1. 16 0
      pages/common/cargo-report.md

+ 16 - 0
pages/common/cargo-report.md

@@ -0,0 +1,16 @@
+# cargo report
+
+> Display various kinds of reports.
+> More information: <https://doc.rust-lang.org/cargo/commands/cargo-report.html>.
+
+- Display a report:
+
+`cargo report {{future-incompatibilities|...}}`
+
+- Display a report with the specified Cargo-generated id:
+
+`cargo report {{future-incompatibilities|...}} --id {{id}}`
+
+- Display a report for the specified package:
+
+`cargo report {{future-incompatibilities|...}} --package {{package}}`