Skip to content

Commit bada182

Browse files
author
Colin Robertson
committed
Remove command processor prompt char
1 parent b90b91a commit bada182

4 files changed

Lines changed: 9 additions & 9 deletions

File tree

docs/build/reference/headerunit.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Given a project that references two header files and their header units, listed
3939
The compiler options to reference the header units for these particular header files might look like this example:
4040

4141
```CMD
42-
>cl ... /experimental:module /translateInclude /headerUnit C:\utils\util.h=C:\util.h.ifc /headerUnit C:\app\app.h=C:\app.h.ifc
42+
cl ... /experimental:module /translateInclude /headerUnit C:\utils\util.h=C:\util.h.ifc /headerUnit C:\app\app.h=C:\app.h.ifc
4343
```
4444

4545
### To set this compiler option in the Visual Studio development environment

docs/build/reference/module-exportheader.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,13 @@ The compiler resolves a *`header-name`* based on the include directory search or
3535
The argument *`header-name`* must be specified the same way it would appear in source. The argument is sensitive to quoting rules and to `<` and `>` operators on the command line. The properly escaped command to build a header unit such as `<vector>` using the VS2019 command prompt might look like:
3636

3737
```cmd
38-
>cl ... /experimental:module /module:exportHeader "<vector>"
38+
cl ... /experimental:module /module:exportHeader "<vector>"
3939
```
4040

4141
Building a local project header such as `"utils/util.h"` might look like:
4242

4343
```cmd
44-
>cl ... /experimental:module /module:exportHeader """util/util.h"""
44+
cl ... /experimental:module /module:exportHeader """util/util.h"""
4545
```
4646

4747
The quoting rules in other command-line processors may differ.
@@ -55,13 +55,13 @@ When using the *`header-name`* form of **`/module:exportHeader`**, you may find
5555
Given headers `"C:\util\util.h"` and `"C:\app\app.h"`, you can export them as *`header-name`* arguments by using this command:
5656

5757
```cmd
58-
>cl /IC:\ /experimental:module /module:exportHeader """util/util.h""" """app/app.h""" /FoC:\obj
58+
cl /IC:\ /experimental:module /module:exportHeader """util/util.h""" """app/app.h""" /FoC:\obj
5959
```
6060

6161
You can export them as *`filename`* arguments by using this command:
6262

6363
```cmd
64-
>cl /IC:\ /experimental:module /module:exportHeader C:\util\util.h C:\app\app.h /FoC:\obj
64+
cl /IC:\ /experimental:module /module:exportHeader C:\util\util.h C:\app\app.h /FoC:\obj
6565
```
6666

6767
### To set this compiler option in the Visual Studio development environment

docs/build/reference/module-reference.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Examples of full module partition names include:
4545
If a module reference is created using a *`module-name`*, other modules on the command line don't get searched if the compiler encounters an import of that name. For example, given this command line:
4646

4747
```cmd
48-
>cl ... /experimental:module /module:reference m.ifc /module:reference m=n.ifc
48+
cl ... /experimental:module /module:reference m.ifc /module:reference m=n.ifc
4949
```
5050

5151
In the case above, if the compiler sees `import m;` then *`m.ifc`* doesn't get searched.
@@ -63,13 +63,13 @@ Given three modules as listed in this table:
6363
The reference options using a *`filename`* argument could look like:
6464

6565
```cmd
66-
>cl ... /experimental:module /module:reference m.ifc /module:reference m-part.ifc /module:reference Networking.ifc
66+
cl ... /experimental:module /module:reference m.ifc /module:reference m-part.ifc /module:reference Networking.ifc
6767
```
6868

6969
The reference options using *`module-name=filename`* could look like:
7070

7171
```cmd
72-
>cl ... /experimental:module /module:reference m=m.ifc /module:reference M:Part1=m-part.ifc /module:reference Core.Networking=Networking.ifc
72+
cl ... /experimental:module /module:reference m=m.ifc /module:reference M:Part1=m-part.ifc /module:reference Core.Networking=Networking.ifc
7373
```
7474

7575
### To set this compiler option in the Visual Studio development environment

docs/build/reference/translateinclude.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ int main() { }
5252
The **`/translateInclude`** option allows the compiler to import the header units instead of compile the headers again. Here's an example command line that translates the include directives for *`util.h`* and *`app.h`* into imports of the header units instead:
5353
5454
```CMD
55-
>cl /IC:\ /experimental:module /translateInclude /headerUnit C:\utils\util.h=C:\util.h.ifc /headerUnit C:\app\app.h=C:\app.h.ifc
55+
cl /IC:\ /experimental:module /translateInclude /headerUnit C:\utils\util.h=C:\util.h.ifc /headerUnit C:\app\app.h=C:\app.h.ifc
5656
```
5757

5858
### To set this compiler option in the Visual Studio development environment

0 commit comments

Comments
 (0)