#! /bin/sh
#
-# Copyright (C) 2009-2010 Free Software Foundation, Inc.
+# Copyright (C) 2009-2010, 2015 Free Software Foundation, Inc.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# Command-line option processing.
-if ! { { test $# = 2 || test $# = 3 || test $# = 4; } \
+if { { test $# = 2 || test $# = 3 || test $# = 4; } \
&& case "$1" in dir | cvs | git ) true;; *) false;; esac \
&& case "$2" in dir | cvs | git ) true;; *) false;; esac; }; then
+ :
+else
echo "Usage: convert-archive {dir|cvs|git} {dir|cvs|git} [fromfile [tofile]]"
exit 1
fi