CC: Stephen Finucane <[email protected]>
Fixes: c431227e3350 ("doc: Remove documentation from distdoc target")
Reported-by: Lance Richardson <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
---
 build-aux/dist-docs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-aux/dist-docs b/build-aux/dist-docs
index d2d11d7..9f6ca7b 100755
--- a/build-aux/dist-docs
+++ b/build-aux/dist-docs
@@ -3,10 +3,10 @@
 set -e
 
 # Check command line.
-if test ! -d "$1" || test $# -lt 2; then
+if test ! -d "$1" || test $# != 1; then
     cat <<EOF
 $0: HTML documentation generator for Open vSwitch
-usage: $0 srcdir docfile...
+usage: $0 srcdir
 
 The VERSION environment variable should be set to the Open vSwitch version.
 Must be invoked from an Open vSwitch build directory.
-- 
2.10.2

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to