Skip to content

Commit bf09c54

Browse files
CopilotmarcpopMSFT
andcommitted
Revert generated manpage changes and update copilot instructions
Co-authored-by: marcpopMSFT <[email protected]>
1 parent bacc176 commit bf09c54

File tree

2 files changed

+6
-12
lines changed

2 files changed

+6
-12
lines changed

.github/copilot-instructions.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,7 @@ Output Considerations:
1212

1313
Localization:
1414
- Avoid modifying .xlf files and instead prompt the user to update them using the `/t:UpdateXlf` target on MSBuild.
15-
- Consider localizing strings in .resx files when possible.
15+
- Consider localizing strings in .resx files when possible.
16+
17+
Documentation:
18+
- Do not manually edit files under documentation/manpages/sdk as these are generated based on documentation and should not be manually modified.

documentation/manpages/sdk/dotnet-restore.1

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ dotnet-restore - Restores the dependencies and tools of a project.
2626
.IP
2727
.nf
2828
\f[C]
29-
dotnet restore [<ROOT>] [-a|--arch <ARCHITECTURE>] [--configfile <FILE>] [--disable-build-servers]
29+
dotnet restore [<ROOT>] [--configfile <FILE>] [--disable-build-servers]
3030
[--disable-parallel]
3131
[-f|--force] [--force-evaluate] [--ignore-failed-sources]
3232
[--interactive] [--lock-file-path <LOCK_FILE_PATH>] [--locked-mode]
33-
[--no-cache] [--no-dependencies] [--os <OS>] [--packages <PACKAGES_DIRECTORY>]
33+
[--no-cache] [--no-dependencies] [--packages <PACKAGES_DIRECTORY>]
3434
[-r|--runtime <RUNTIME_IDENTIFIER>] [-s|--source <SOURCE>]
3535
[--tl:[auto|on|off]] [--use-current-runtime, --ucr [true|false]]
3636
[--use-lock-file] [-v|--verbosity <LEVEL>]
@@ -144,15 +144,6 @@ If you use this option, don\[cq]t use the \f[V]-r|--runtime\f[R] option.
144144
Available since .NET 6 Preview 7.
145145
.RE
146146
.IP \[bu] 2
147-
\f[B]\f[VB]--os <OS>\f[B]\f[R]
148-
.RS 2
149-
.PP
150-
Specifies the target operating system (OS).
151-
This is a shorthand syntax for setting the Runtime Identifier (RID), where the provided value is combined with the default RID.
152-
For example, on a \f[V]win-x64\f[R] machine, specifying \f[V]--os linux\f[R] sets the RID to \f[V]linux-x64\f[R].
153-
If you use this option, don\[cq]t use the \f[V]-r|--runtime\f[R] option.
154-
.RE
155-
.IP \[bu] 2
156147
\f[B]\f[VB]--configfile <FILE>\f[B]\f[R]
157148
.RS 2
158149
.PP

0 commit comments

Comments
 (0)