~ruther/guix-local

a9eadc06ac57846aaa8fdeb550b32e44f59c9437 — Mathieu Othacehe 9 years ago e5f0563
scripts: system: Rename --no-grub option to --no-bootloader.

* guix/scripts/system.scm (%options, show-help): Adjust accordingly.
Keep "--no-grub" for compatibility reasons, but do not mention it in the help.

Signed-off-by: Danny Milosavljevic <dannym@scratchpost.org>
1 files changed, 2 insertions(+), 2 deletions(-)

M guix/scripts/system.scm
M guix/scripts/system.scm => guix/scripts/system.scm +2 -2
@@ 765,7 765,7 @@ Some ACTIONS support additional ARGS.\n"))
  (display (_ "
      --image-size=SIZE  for 'vm-image', produce an image of SIZE"))
  (display (_ "
      --no-grub          for 'init', do not install GRUB"))
      --no-bootloader    for 'init', do not install a bootloader"))
  (display (_ "
      --share=SPEC       for 'vm', share host file system according to SPEC"))
  (display (_ "


@@ 804,7 804,7 @@ Some ACTIONS support additional ARGS.\n"))
                 (lambda (opt name arg result)
                   (alist-cons 'image-size (size->number arg)
                               result)))
         (option '("no-grub") #f #f
         (option '("no-bootloader" "no-grub") #f #f
                 (lambda (opt name arg result)
                   (alist-cons 'install-bootloader? #f result)))
         (option '("full-boot") #f #f