diff options
author | Cyril Roelandt <tipecaml@gmail.com> | 2013-04-15 23:23:27 +0200 |
---|---|---|
committer | Cyril Roelandt <tipecaml@gmail.com> | 2013-04-16 23:12:29 +0200 |
commit | acb6ba256703da1db1d300541e15a4e7428f622b (patch) | |
tree | 0ab133d0b20bf051cfa43e099a88211b1a846e7a /doc | |
parent | 0160536dcb5399ad7d80b10e064df5c95f3adb4f (diff) | |
download | guix-acb6ba256703da1db1d300541e15a4e7428f622b.tar guix-acb6ba256703da1db1d300541e15a4e7428f622b.tar.gz |
package: allow users to upgrade the whole system by not providing a regexp.
* guix/scripts/packages.scm (guix-package) [process-actions]: When upgrading,
use "" when REGEXP is #f.
* doc/guix.texi: update the documentation accordingly.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index c91bc2021d..b77335d2c2 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -537,9 +537,10 @@ multiple-output package. @itemx -r @var{package} Remove @var{package}. -@item --upgrade=@var{regexp} -@itemx -u @var{regexp} -Upgrade all the installed packages matching @var{regexp}. +@item --upgrade[=@var{regexp}] +@itemx -u [@var{regexp}] +Upgrade all the installed packages. When @var{regexp} is specified, upgrade +only installed packages whose name matches @var{regexp}. Note that this upgrades package to the latest version of packages found in the distribution currently installed. To update your distribution, |