The unified diff between revisions [c756c442..] and [f4d758ae..] is displayed below. It can also be downloaded as a raw diff.
#
#
# rename "util/mtnopt"
# to "util/mtnopt.in"
#
# patch "configure.ac"
# from [167405576ef62305dff771b74a35f3a6aac5b84f]
# to [73cd49459e4e8fd39e790ff514693be80698ab9e]
#
# patch "util/mtnopt.in"
# from [33c27cd28c47f9947cd7f2f81dd296363ebb2ee4]
# to [a9aff1396ce99d1a46cf805c857bad739dcad613]
#
============================================================
--- configure.ac 167405576ef62305dff771b74a35f3a6aac5b84f
+++ configure.ac 73cd49459e4e8fd39e790ff514693be80698ab9e
@@ -7,6 +7,7 @@ AC_CONFIG_FILES([Makefile])
AC_CONFIG_SRCDIR([app_state.cc])
AM_CONFIG_HEADER([config.h])
AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([util/mtnopt])
# Checks for programs.
dnl Note: AC_PROG_CC is implied by AM_PROG_CC_C_O and in any case has
============================================================
--- util/mtnopt 33c27cd28c47f9947cd7f2f81dd296363ebb2ee4
+++ util/mtnopt.in a9aff1396ce99d1a46cf805c857bad739dcad613
@@ -38,10 +38,13 @@ while [ ! $# = 0 ]; do
-v)
values_only=true
;;
- -h)
+ -h|--help)
usage
- exit 2
+ exit 0
;;
+ --version)
+ echo "mtnopt from monotone @PACKAGE_VERSION@"
+ exit 0
esac
shift
done