Skip to content
Snippets Groups Projects
Commit 64a967cc authored by Ludovic Courtès's avatar Ludovic Courtès
Browse files

ui: Make '--version' output GCS-compliant.

* guix/ui.scm (show-version-and-exit): Display copyright year, license,
  and LACK OF WARRANTY.
parent a18e5833
No related branches found
No related tags found
No related merge requests found
......@@ -137,6 +137,11 @@ (define* (show-version-and-exit #:optional (command (car (command-line))))
"Display version information for COMMAND and `(exit 0)'."
(simple-format #t "~a (~a) ~a~%"
command %guix-package-name %guix-version)
(display (_ "Copyright (C) 2013 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
"))
(exit 0))
(define (show-bug-report-information)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment