about summary refs log tree commit diff
path: root/tests/ui
diff options
context:
space:
mode:
authorclubby789 <jamie@hill-daniel.co.uk>2025-04-14 14:16:30 +0100
committerclubby789 <jamie@hill-daniel.co.uk>2025-04-14 14:52:27 +0100
commit1b46969a11b2cfa000593b225af94a9d3bfbedfc (patch)
treeafef0f83ad320765de4e94e395315ece8aae0900 /tests/ui
parent5961e5ba3daa20d98f549eb9029105ae50c13aed (diff)
downloadrust-1b46969a11b2cfa000593b225af94a9d3bfbedfc.tar.gz
rust-1b46969a11b2cfa000593b225af94a9d3bfbedfc.zip
Specify `--print info=file` syntax in `--help`
Diffstat (limited to 'tests/ui')
-rw-r--r--tests/ui/invalid-compile-flags/print-without-arg.stderr5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/ui/invalid-compile-flags/print-without-arg.stderr b/tests/ui/invalid-compile-flags/print-without-arg.stderr
index 8abaee5056b..fd2a36e761b 100644
--- a/tests/ui/invalid-compile-flags/print-without-arg.stderr
+++ b/tests/ui/invalid-compile-flags/print-without-arg.stderr
@@ -1,5 +1,6 @@
 error: Argument to option 'print' missing
        Usage:
-           --print [all-target-specs-json|calling-conventions|cfg|check-cfg|code-models|crate-name|crate-root-lint-levels|deployment-target|file-names|host-tuple|link-args|native-static-libs|relocation-models|split-debuginfo|stack-protector-strategies|supported-crate-types|sysroot|target-cpus|target-features|target-libdir|target-list|target-spec-json|tls-models]
-                               Compiler information to print on stdout
+           --print INFO[=FILE] Compiler information to print on stdout (or to a file)
+                               INFO may be one of
+                               (all-target-specs-json|calling-conventions|cfg|check-cfg|code-models|crate-name|crate-root-lint-levels|deployment-target|file-names|host-tuple|link-args|native-static-libs|relocation-models|split-debuginfo|stack-protector-strategies|supported-crate-types|sysroot|target-cpus|target-features|target-libdir|target-list|target-spec-json|tls-models).