The following commit has been merged in the master branch:
commit 45b2fc9205ba5feb5cdbd5ec9e4e80f8c6b20c8e
Author: Niels Thykier <[email protected]>
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 <[email protected]>

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


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to