Browse Source

Add example invocation for diff.py.

Jelmer Vernooij 11 years ago
parent
commit
ea6815c469
1 changed files with 3 additions and 0 deletions
  1. 3 0
      examples/diff.py

+ 3 - 0
examples/diff.py

@@ -1,6 +1,9 @@
 #!/usr/bin/python
 # This trivial script demonstrates how to extract the unified diff for a single
 # commit in a local repository.
+#
+# Example usage:
+#  python examples/diff.py
 
 from dulwich.repo import Repo
 from dulwich.patch import write_tree_diff