Skip to content

Commit 35358bf

Browse files
committed
Add remark about staging in bulk
1 parent f4a592e commit 35358bf

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

ada/ada

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2946,10 +2946,15 @@ api_call () {
29462946
if [[ "${args[*]}" =~ "netrc" || "${args[*]}" =~ "proxy" || "${args[*]}" =~ "tokenfile" ]]; then
29472947
cmd_args="--$auth_method $auth_file $cmd_args"
29482948
fi
2949-
echo 1>&2 "ERROR: file '$path' exists, but it is on tape, and not online." \
2950-
"You need to stage it first before you can download it." \
2951-
"You can do that with this command:"
2952-
echo 1>&2 " $0 --stage $path" "$cmd_args" | tr -d '\r'
2949+
{
2950+
echo "ERROR: file '$path' exists, but it is on tape, and not online." \
2951+
"You need to stage it first before you can download it." \
2952+
"You can do that with this command:"
2953+
echo
2954+
echo " $0 --stage $path" "$cmd_args" | tr -d '\r'
2955+
echo
2956+
echo "Please note, that staging works most efficiently when done in bulk."
2957+
} 1>&2
29532958
exit 1
29542959
fi
29552960
# We can't download through the API; we need a WebDAV door for that.

0 commit comments

Comments
 (0)