diff --git a/repo2html b/repo2html
index 0630b99..b674c55 100755
--- a/repo2html
+++ b/repo2html
@@ -98,6 +98,14 @@ while getopts t:d:c:e:l:f:o:C:ER:T: opt; do
e) html_ext="$OPTARG";;
l) license="$OPTARG";;
f) msgfmt="$OPTARG";;
+ o)
+ # recognize both absolute and relative paths
+ if [ "${OPTARG:0:1}" == / ]; then
+ path_out="$OPTARG"
+ else
+ path_out="$path_out/$OPTARG"
+ fi
+ ;;
C) html_external_css="$OPTARG";;
E) html_ext=;;
R) rss_count="$OPTARG";;