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

[SCM] Debian package checker branch, master, updated. 2.5.10-25-g45b2fc9



The following commit has been merged in the master branch:
commit 45b2fc9205ba5feb5cdbd5ec9e4e80f8c6b20c8e
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Jul 12 20:23:56 2012 +0200

    priv/graph: document --help and exit 0 when --help is given
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/private/graph b/private/graph
index 4b520df..f00359d 100755
--- a/private/graph
+++ b/private/graph
@@ -258,6 +258,7 @@ sub usage {
     print <<EOF ;
 Usage: $p [options]
 
+  -h, --help       - Print this help and exit
   --[no-]checks    - Whether to include checks in the graph
   --[no-]dep-level - Try to prettify the graph by using "dependency levels"
   --longest-paths  - Highlight the longest paths in the graph.
@@ -281,6 +282,7 @@ In a dot-generated image, the boxes (with blue borders) will be the checks
 and the ellipses are collections.
 
 EOF
+    exit 0;
 }
 
 # Local Variables:

-- 
Debian package checker


Reply to: