Skip to content

Commit 604c3e7

Browse files
dneto0Zackery Mason-Blaug
andauthored
spirv-as: fix docs: need '-' arg to specify stdin (KhronosGroup#6194)
Co-authored-by: Zackery Mason-Blaug <[email protected]>
1 parent 28a883b commit 604c3e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tools/as/as.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ static const std::string kHelpText =
2828
2929
Usage: %s [options] [<filename>]
3030
31-
The SPIR-V assembly text is read from <filename>. If no file is specified,
32-
or if the filename is "-", then the assembly text is read from standard input.
31+
The SPIR-V assembly text is read from <filename>.
32+
Use "-" as the filename to read from standard input.
33+
Use "./-" to read from the file named "-".
34+
3335
The SPIR-V binary module is written to file "out.spv", unless the -o option
3436
is used.
3537

0 commit comments

Comments
 (0)