Kaynağa Gözat

Add example invocation for diff.py.

Jelmer Vernooij 11 yıl önce
ebeveyn
işleme
0f6a065832
1 değiştirilmiş dosya ile 3 ekleme ve 0 silme
  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