From d1f6c24c3a88a27849a285f1faca3eb490a471c1 Mon Sep 17 00:00:00 2001 From: Tom Preston-Werner Date: Sat, 17 Apr 2010 16:18:10 -0400 Subject: [PATCH] clarify update_page and delete_page readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 70a5b50f..7ef20c44 100644 --- a/README.md +++ b/README.md @@ -294,8 +294,9 @@ exist) and commit the change. The file will be written at the repo root. Update an existing page (keeps the same name, format, and directory location). + page = gollum.find('Page Name') gollum.update_page(page, 'Page contents', commit) To delete a page and commit the change: - gollum.delete_page('Page Name', commit) \ No newline at end of file + gollum.delete_page(page, commit) \ No newline at end of file