Skip to content

Commit

Permalink
Update help string for --restart to make clear it applies to assessor…
Browse files Browse the repository at this point in the history
…s of a given type. (#393)

* Removed logic that always sets former status to None if --restart is present.

* Updated help string for --restart to match behavior.

old: Restart the assessors by switching the status for all assessors found to NEED_TO_RUN and delete previous resources.

new: Restart the assessors by switching the status for all assessors \
found to NEED_TO_RUN and delete previous resources.
  • Loading branch information
MikeDPhillips authored Jul 19, 2022
1 parent 4ddb888 commit 882f3c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/Xnat_tools/XnatSwitchProcessStatus
Original file line number Diff line number Diff line change
Expand Up @@ -674,8 +674,8 @@ the assessors from -t you changed are inputs to those assessors."
action="store_true", help=_h)
parser.add_argument("--fullRegex", dest="full_regex", action='store_true',
help="Use full regex for filtering data.")
_h = "Restart the assessors by switching the status for all assessors \
found to NEED_TO_RUN and delete previous resources."
_h = "Restart all assessors of a given process type by switching the \
git status to NEED_TO_RUN and delete previous resources."
parser.add_argument("--restart", dest="restart", action='store_true',
help=_h)
_h = "Rerun the assessors by switching status to NEED_TO_RUN for \
Expand Down

0 comments on commit 882f3c8

Please sign in to comment.