[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/03: size: Default to '--sort=self'.
From: |
Ludovic Courtès |
Subject: |
03/03: size: Default to '--sort=self'. |
Date: |
Thu, 7 Sep 2017 07:57:54 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit fb25508856b5dc646b1a9771c70eaa071cee6742
Author: Ludovic Courtès <address@hidden>
Date: Thu Sep 7 11:30:44 2017 +0200
size: Default to '--sort=self'.
* guix/scripts/size.scm (%default-options): Change default value for
'profile<?.
* doc/guix.texi (Invoking guix size): Adjust accordingly.
---
doc/guix.texi | 6 +++---
guix/scripts/size.scm | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index 3e9593d..68f0aa2 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
address@hidden 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);
address@hidden closure
+the total size of the item's closure.
@end table
@item address@hidden
diff --git a/guix/scripts/size.scm b/guix/scripts/size.scm
index 1e54d3f..eade184 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<?)))
;;;