Skip to content

Commit

Permalink
add more information about repository-specific access modes
Browse files Browse the repository at this point in the history
  • Loading branch information
truib committed Jun 25, 2024
1 parent d9c1fb1 commit e25cd1e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions eessi_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ export EESSI_REPOS_CFG_FILE="${EESSI_REPOS_CFG_DIR}/repos.cfg"
display_help() {
echo "usage: $0 [OPTIONS] [[--] SCRIPT or COMMAND]"
echo " OPTIONS:"
echo " -a | --access {ro,rw} - ro (read-only), rw (read & write) [default: ro]"
echo " -a | --access {ro,rw} - sets access globally for all CVMFS repositories:"
echo " ro (read-only), rw (read & write) [default: ro]"
echo " -b | --extra-bind-paths - specify extra paths to be bound into the container."
echo " To specify multiple bind paths, separate by comma."
echo " Example: '/src:/dest:ro,/src2:/dest2:rw'"
Expand All @@ -89,7 +90,9 @@ display_help() {
echo " MODE==install for a CUDA installation, MODE==run to"
echo " attach a GPU, MODE==all for both [default: false]"
echo " -r | --repository CFG - configuration file or identifier defining the"
echo " repository to use; can be given multiple times"
echo " repository to use; can be given multiple times;"
echo " CFG may include a suffix ';access={ro,rw}' to"
echo " overwrite the global access mode for this repository"
echo " [default: software.eessi.io via CVMFS config available"
echo " via default container, see --container]"
echo " -u | --resume DIR/TGZ - resume a previous run from a directory or tarball,"
Expand Down

0 comments on commit e25cd1e

Please sign in to comment.