size: Default to '--sort=self'.

* guix/scripts/size.scm (%default-options): Change default value for
'profile<?.
* doc/guix.texi (Invoking guix size): Adjust accordingly.
This commit is contained in:
Ludovic Courtès 2017-09-07 11:30:44 +02:00
parent c2ffcc4425
commit fb25508856
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
2 changed files with 4 additions and 4 deletions

View File

@ -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}

View File

@ -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<?)))
;;;