summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-09-03 14:55:07 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-09-05 22:24:39 +0300
commitda09b47b947e2ea4a8ed22b4755e2221d4e27f36 (patch)
treeb694721e35daeec87c1b2171abc5e774f2c38fa5
parentb8477cab7bccc4191ed3dfa3f149aec7917834d8 (diff)
downloadguix-da09b47b947e2ea4a8ed22b4755e2221d4e27f36.tar.gz
scripts: system: Expand some help messages.
* guix/scripts/system.scm (show-help): Add to '--share=SPEC' and
'--expose=SPEC' that it also works for containers.
-rw-r--r--guix/scripts/system.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm
index b75b0e5b60..373d4d8567 100644
--- a/guix/scripts/system.scm
+++ b/guix/scripts/system.scm
@@ -7,6 +7,7 @@
 ;;; Copyright © 2019 Christopher Baines <mail@cbaines.net>
 ;;; Copyright © 2020 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
 ;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu>
+;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -956,9 +957,11 @@ Some ACTIONS support additional ARGS.\n"))
   (display (G_ "
       --save-provenance  save provenance information"))
   (display (G_ "
-      --share=SPEC       for 'vm', share host file system according to SPEC"))
+      --share=SPEC       for 'vm' and 'container', share host file system with
+                         read/write access according to SPEC"))
   (display (G_ "
-      --expose=SPEC      for 'vm', expose host file system according to SPEC"))
+      --expose=SPEC      for 'vm' and 'container', expose host file system
+                         directory as read-only according to SPEC"))
   (display (G_ "
   -N, --network          for 'container', allow containers to access the network"))
   (display (G_ "