#!/bin/sh

case "$1" in
--single-file)
    title="Called debug contract that accepts a single file"
    ;;
--multiple-files)
    title="Called debug contract that accepts multiple files"
    ;;
--single-uri)
    title="Called debug contract that accepts a single URI"
    ;;
--multiple-uris)
    title="Called debug contract that accepts multiple URIs"
    ;;
*)
    title="$1"
    ;;
esac
shift

content=''
while [ "x$1" != "x" ]; do
content="$content
$1"
shift
done

zenity --info --no-markup --no-wrap --text="$content" --title="$title"
