diff options
author | Herman Rimm <herman@rimm.ee> | 2024-09-02 20:58:05 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-09-03 13:59:33 +0200 |
commit | c4ce31305258126e0f5809697e084bf97f31f77f (patch) | |
tree | 222f24899f6c27d665e2d0620b764693c5ce3753 /gnu | |
parent | 52681a036a47168edc3380b89d3975ca70d54ab5 (diff) | |
download | guix-c4ce31305258126e0f5809697e084bf97f31f77f.tar.gz guix-c4ce31305258126e0f5809697e084bf97f31f77f.zip |
scripts: style: Add 'alphabetical-sort' option.
* guix/scripts/style.scm (show-help): Describe option.
(order-packages): Add procedure.
(format-whole-file): Add 'order?' argument.
(%options): Add 'alphabetical-sort' option.
(guix-style): Alphabetically order packages in files.
* tests/guix-style.sh: Test alphabetical ordering.
* doc/guix.texi (Invoking guix style): Document option.
Change-Id: I4aa7c0bd0b6d42529ae7d304587ffb10bf5f4006
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions