Skip to content

Commit

Permalink
fix doc (#3)
Browse files Browse the repository at this point in the history
The help/usage description diverged from the Python implementation.

Fixes #2
  • Loading branch information
RMeli authored Aug 16, 2023
1 parent f8b61e5 commit 750cd65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activate
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ function usage {
echo " stop stop a shell with an environment loaded"
echo " status print information about each running environment"
echo " modules view module status and activate with --use"
echo " load-view load a view"
echo " view activate a view"
}

function uenv {
if [ "$1" = "--version" ]; then
echo "uenv version ${VERSION}";
elif [[ $# -eq 0 || "$1" = "--help" ]]; then
elif [[ $# -eq 0 || "$1" = "--help" || "$1" = "-h" ]]; then
usage;
else
eval "$($UENV_CMD "$@")"
Expand Down

0 comments on commit 750cd65

Please sign in to comment.