Michele Bini committed d57ea61

Add "--usage" alias for "--help"

Comments (0)

Files changed (2)

   --max-depth N  Show branch history up to N commits deep
   --graphviz     Raw graphviz output, no display via eog
   -v, --verbose  Verbose operations
-  -h, --help     Display this help screen
+  -h, --usage    Display this help screen
 Copyright (c) 2012 Michele Bini <>
 class Options < ClassyCLI
   def _h; self.__help; end
-  def __help
+  def __help; self.__usage; end
+  def __usage
     puts "git digraph OPTIONS* OBJECT*"
     puts "Display directed graph of Git commits"