Skip to content

Commit 6cef1f9

Browse files
committed
Fix #565, allow caf -show (one hyphen) for TAU
Follow MPI wrapper conventions and allow `-show` in addition to `--show` etc.
1 parent 7deb2ee commit 6cef1f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extensions/caf.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ usage() {
217217
echo " --help, -h Show this help message and exit"
218218
echo " --version, -v, -V Report version and copyright information and exit"
219219
echo " --wrapping, -w, --wraps Report the name of the wrapped compiler and exit"
220-
echo " --show, -s Show how this wrapper will call the compiler and exit (dry run)"
220+
echo " --show, -s, -show Show how this wrapper will call the compiler and exit (dry run)"
221221
echo ""
222222
echo " Example usage:"
223223
echo ""
@@ -277,7 +277,7 @@ if [[ ${1} == -[vV] || ${1} == '--version' ]]; then
277277
elif [[ ${1} == '-w' || ${1} == '--wraps' || ${1} == '--wrapping' ]]; then
278278
echo "${cmd} wraps ${cafc}"
279279
exit 0
280-
elif [[ ${1} == '-s' || ${1} == '--show' ]]; then
280+
elif [[ ${1} == '-s' || ${1} == '--show' || ${1} == '-show' ]]; then
281281
if (($# > 1)); then
282282
args="${*:2:$((${#} - 1))}"
283283
else

0 commit comments

Comments
 (0)