diff --git a/docs/core/tools/dotnet-publish.md b/docs/core/tools/dotnet-publish.md index 13c9edb8e8a73..8d6f2ff27993f 100644 --- a/docs/core/tools/dotnet-publish.md +++ b/docs/core/tools/dotnet-publish.md @@ -20,8 +20,8 @@ dotnet publish [|] [-a|--arch ] [--manifest ] [--no-build] [--no-dependencies] [--no-restore] [--nologo] [-o|--output ] [--os ] [-r|--runtime ] - [--self-contained [true|false]] [--no-self-contained] - [-s|--source ] [-v|--verbosity ] + [--sc|--self-contained [true|false]] [--no-self-contained] + [-s|--source ] [-v|--verbosity ] [--version-suffix ] dotnet publish -h|--help @@ -164,7 +164,7 @@ For more information, see the following resources: [!INCLUDE [os](../../../includes/cli-os.md)] -- **`--self-contained [true|false]`** +- **`--sc|--self-contained [true|false]`** Publishes the .NET runtime with your application so the runtime doesn't need to be installed on the target machine. Default is `true` if a runtime identifier is specified and the project is an executable project (not a library project). For more information, see [.NET application publishing](../deploying/index.md) and [Publish .NET apps with the .NET CLI](../deploying/deploy-with-cli.md).