From 0c9526164e500a15378fd7eb8d6adfaea5b28a15 Mon Sep 17 00:00:00 2001
From: Tomas Lovato <tomas.lovato@cmcc.it>
Date: Fri, 25 Feb 2022 11:21:33 +0100
Subject: [PATCH] add more info on manual_build.sh usage

---
 doc/manual_build.sh | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/manual_build.sh b/doc/manual_build.sh
index df56cbd6..f62a06d7 100755
--- a/doc/manual_build.sh
+++ b/doc/manual_build.sh
@@ -15,10 +15,10 @@ Usage:
 ------
 ./manual_build.sh [-p] [-r version ] manual
 Mandatory
-          Chose one model manual among ${manuals} or all
+          Chose one model manual among ${manuals} or all (if not provided compile "NEMO")
 Optional
    -p     Produce manual with figures and disable draft watermark
-   -r     Specify the release version number of the manual(s)
+   -r     Specify the release version number of the manual(s) instead of the branch name
 EOF
                                  exit 0 ;;
             ('p') x_p=0        ; shift  ;;
@@ -47,7 +47,7 @@ else
 fi
 
 # Version
-version=`git symbolic-ref -q --short HEAD || git describe --tags --exact-match || "trunk"`
+version=`git symbolic-ref -q --short HEAD || git describe --tags --exact-match || "orphan"`
 if [ "x${VER_NUM}" != 'x' ] ; then
     version=${VER_NUM}
 fi
-- 
GitLab