Skip to content

Commit

Permalink
Merge pull request #1682 from brycegbrazen/improve_rez_env_docs
Browse files Browse the repository at this point in the history
Improve explicitness of help doc of --command on rez-env
  • Loading branch information
bpabel committed Mar 14, 2024
2 parents dc2c777 + ee4e056 commit c216f9d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/rez/cli/env.py
Expand Up @@ -29,8 +29,11 @@ def setup_parser(parser, completions=False):
help="skip loading of startup scripts")
command_action = parser.add_argument(
"-c", "--command", type=str,
help="read commands from string. Alternatively, list command arguments "
"after a '--'")
help="execute command within rez environment and exit, instead of "
"starting an interactive shell. Alternatively, list command after a "
"'--'. The command and arguments passed to '-c' must be passed in as "
"a single shell argument, whereas the command and arguments after "
"'--' may be passed in as several shell arguments.")
parser.add_argument(
"-s", "--stdin", action="store_true",
help="read commands from standard input")
Expand Down

0 comments on commit c216f9d

Please sign in to comment.