[yelp-tools] yelp-build: XInclude on the cache



commit 49b0e0791a0cb2201c02cf2e6c53ad4201436513
Author: Shaun McCance <shaunm gnome org>
Date:   Tue Apr 12 09:27:12 2011 -0400

    yelp-build: XInclude on the cache

 tools/yelp-build.in |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tools/yelp-build.in b/tools/yelp-build.in
index 763aa46..b2cfeca 100755
--- a/tools/yelp-build.in
+++ b/tools/yelp-build.in
@@ -1,5 +1,5 @@
 #!/bin/sh
-# yelp-cache - Create a Mallard cache file
+# yelp-build
 # Copyright (C) 2010 Shaun McCance <shaunm gnome org>
 #
 # This program is free software; you can redistribute it and/or modify
@@ -138,7 +138,7 @@ yelp_cache () {
                 ;;
         esac
     done
-    if [ "$#" = "0" ]; then
+    if [ "$#" = "0" -o "x$1" = "x--help" ]; then
         yelp_usage_cache
         exit 1
     fi
@@ -460,7 +460,7 @@ yelp_html () {
         html_custom_dir=`(cd "$html_custom_dir" && pwd)`
         html_custom="$html_custom_dir"/`basename "$html_custom"`
     fi
-    if [ "$#" = "0" ]; then
+    if [ "$#" = "0" -o "x$1" = "x--help" ]; then
         yelp_usage_html
         exit 1
     fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]