diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-09-07 11:30:44 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-09-07 13:57:42 +0200 |
commit | fb25508856b5dc646b1a9771c70eaa071cee6742 (patch) | |
tree | c3c04cea14489168695b31e3ec54ec3be6cb1420 | |
parent | c2ffcc4425946725f843466680b89b9b0aa1f45e (diff) | |
download | patches-fb25508856b5dc646b1a9771c70eaa071cee6742.tar patches-fb25508856b5dc646b1a9771c70eaa071cee6742.tar.gz |
size: Default to '--sort=self'.
* guix/scripts/size.scm (%default-options): Change default value for
'profile<?.
* doc/guix.texi (Invoking guix size): Adjust accordingly.
-rw-r--r-- | doc/guix.texi | 6 | ||||
-rw-r--r-- | guix/scripts/size.scm | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 3e9593d0cb..68f0aa2aa8 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -6383,10 +6383,10 @@ Use substitute information from @var{urls}. Sort lines according to @var{key}, one of the following options: @table @code -@item closure -the total size of the item's closure (the default); @item self -the size of each item. +the size of each item (the default); +@item closure +the total size of the item's closure. @end table @item --map-file=@var{file} diff --git a/guix/scripts/size.scm b/guix/scripts/size.scm index 1e54d3f218..eade184e67 100644 --- a/guix/scripts/size.scm +++ b/guix/scripts/size.scm @@ -282,7 +282,7 @@ Report the size of PACKAGE and its dependencies.\n")) (define %default-options `((system . ,(%current-system)) - (profile<? . ,profile-closure<?))) + (profile<? . ,profile-self<?))) ;;; |