~ruther/guix-local

fb25508856b5dc646b1a9771c70eaa071cee6742 — Ludovic Courtès 8 years ago c2ffcc4
size: Default to '--sort=self'.

* guix/scripts/size.scm (%default-options): Change default value for
'profile<?.
* doc/guix.texi (Invoking guix size): Adjust accordingly.
2 files changed, 4 insertions(+), 4 deletions(-)

M doc/guix.texi
M guix/scripts/size.scm
M doc/guix.texi => doc/guix.texi +3 -3
@@ 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}

M guix/scripts/size.scm => guix/scripts/size.scm +1 -1
@@ 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<?)))


;;;