summaryrefslogtreecommitdiff
path: root/tools/gen-bugnote
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2014-02-24 15:58:47 -0800
committerGerald Combs <gerald@wireshark.org>2014-02-25 00:00:54 +0000
commit57048843e9393222241f5f3dc897875fe1a9dcd5 (patch)
treefedf43494942e7ab1a69dfdd66ec3321bea7c2a2 /tools/gen-bugnote
parent58db464afff5ae91e7ff624bd6edd6d5da88f73c (diff)
downloadwireshark-57048843e9393222241f5f3dc897875fe1a9dcd5.tar.gz
"tools" updates.
Remove backport-change. It didn't work as well as I had hoped. Remove backport-rev since we don't use Subversion any more. Remove DocBook code from gen-bugnote. Change-Id: I70f39444c6cdd380301691f64d27147ac09e5cae Reviewed-on: https://code.wireshark.org/review/348 Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'tools/gen-bugnote')
-rwxr-xr-xtools/gen-bugnote33
1 files changed, 3 insertions, 30 deletions
diff --git a/tools/gen-bugnote b/tools/gen-bugnote
index e91fabfb4b..b6960a8353 100755
--- a/tools/gen-bugnote
+++ b/tools/gen-bugnote
@@ -22,19 +22,6 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#
-output_fmt="docbook"
-if [ -f release-notes.asciidoc -o -f docbook/release-notes.asciidoc ] ; then
- output_fmt="asciidoc"
-fi
-
-while getopts "o:" OPT ; do
- case $OPT in
- o) output_fmt=$OPTARG
- ;;
- esac
-done
-shift $(($OPTIND - 1))
-
bz_url_pfx="https://bugs.wireshark.org/bugzilla/show_bug.cgi?id="
bug_id="$1"
@@ -71,22 +58,8 @@ bug_title=`
-e 's/[^\.]$/&./' \
`
-case "$output_fmt" in
- asciidoc)
- echo -e "* $bug_title (ws-buglink:$bug_id[])\n" \
- | $recode_cmd \
- | $clipboard_cmd
- ;;
- docbook)
-$clipboard_cmd <<Fin
- <listitem><para>
- $bug_title
- (<ulink url="https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=$bug_id">Bug
- $bug_id</ulink>)
- </para></listitem>
-
-Fin
- ;;
-esac
+echo -e "* $bug_title (ws-buglink:$bug_id[])\n" \
+ | $recode_cmd \
+ | $clipboard_cmd
echo "Copied $bug_id: $bug_title"