From a6a09e1587e731d048c87a3c77f85103d38cd91e Mon Sep 17 00:00:00 2001 From: Steffen Forkmann Date: Thu, 15 Oct 2015 12:25:26 +0200 Subject: [PATCH] Document "update group" --- docs/content/commands/update.md | 23 ++++++++++++++++++++++- src/Paket/Paket.fsproj | 4 ++-- 2 files changed, 24 insertions(+), 3 deletions(-) diff --git a/docs/content/commands/update.md b/docs/content/commands/update.md index dcdfd1baa9..99b12f62ab 100644 --- a/docs/content/commands/update.md +++ b/docs/content/commands/update.md @@ -27,7 +27,7 @@ Please see [`paket install`](paket-install.html) if you want to keep the current It's also possible to update only a single package and to keep all other dependencies fixed: [lang=batchfile] - paket update nuget PACKAGENAME [version VERSION] [--force|-f] [--hard] [--redirects] [--no-install] + paket update nuget PACKAGENAME [version VERSION] [group GROUPNAME] [--force|-f] [--hard] [--redirects] [--no-install] ### Options: @@ -35,6 +35,27 @@ It's also possible to update only a single package and to keep all other depende `version `: Allows to specify version of the package. + `group `: Allows to specify the group where the package is located. If omitted then Paket defaults to the Main group. + + `--force [-f]`: Forces the download and reinstallation of all packages. + + `--hard`: Replaces package references within project files even if they are not yet adhering to the Paket's conventions (and hence considered manually managed). See [convert from NuGet](paket-convert-from-nuget.html). + + `--redirects`: Creates binding redirects for the NuGet packages. + + `--no-install`: Skips paket install --hard process afterward generation of [`paket.lock` file](lock-file.html). + +## Updating a single group + +If you want to update a single group you can use the following command: + + [lang=batchfile] + paket update group GROUPNAME [--force|-f] [--hard] [--redirects] [--no-install] + +### Options: + + `group `: Group name + `--force [-f]`: Forces the download and reinstallation of all packages. `--hard`: Replaces package references within project files even if they are not yet adhering to the Paket's conventions (and hence considered manually managed). See [convert from NuGet](paket-convert-from-nuget.html). diff --git a/src/Paket/Paket.fsproj b/src/Paket/Paket.fsproj index af139a7d0c..a883f1e8c9 100644 --- a/src/Paket/Paket.fsproj +++ b/src/Paket/Paket.fsproj @@ -37,7 +37,7 @@ update group Build pack output D:\code\paketbug\output install - show-groups + update -f Project paket.exe c:\code\Paketkopie @@ -45,7 +45,7 @@ d:\code\paketkopie d:\code\paketbug d:\code\paketrepro - d:\code\paket + d:\code\Paket pdbonly