archive: Fix ‘--version’ typo.

* guix/scripts/archive.scm (%options): Replace 'build' by 'archive'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Nikolaos Chatzikonstantinou 2023-09-21 01:02:23 +03:00 committed by Ludovic Courtès
parent 843978bc4f
commit c6eed13c87
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -123,8 +123,7 @@ (define %options
(exit 0)))
(option '(#\V "version") #f #f
(lambda args
(show-version-and-exit "guix build")))
(show-version-and-exit "guix archive")))
(option '("export") #f #f
(lambda (opt name arg result)
(alist-cons 'export #t result)))