1. Michele Bini
  2. git-digraph


Michele Bini  committed d57ea61

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

  • Participants
  • Parent commits 800d783
  • Branches master

Comments (0)

Files changed (2)


View file
  • Ignore whitespace
   --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 <michele.bini@gmail.com>

File git-digraph

View file
  • Ignore whitespace
 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"