- # This code helps migrating from --import to --add-import or --update. It can
- # be removed on 2012-01-01.
- if test "$mode" = import && test $# = 0; then
- echo "gnulib-tool: cowardly refusing to erase the module list." 1>&2
- echo "The meaning of the option '--import' has changed." 1>&2
- echo "See the documentation at" 1>&2
- echo "<http://www.gnu.org/software/gnulib/manual/html_node/Modified-imports.html>." 1>&2
- echo "For updating to a newer version of gnulib, use" 1>&2
- echo " gnulib-tool --add-import" 1>&2
- echo "For restoring files that were omitted from version control, use" 1>&2
- echo " gnulib-tool --update" 1>&2
- func_exit 1
- fi