From 520d7cbf3a4913995177a26ff5342ce47390acee Mon Sep 17 00:00:00 2001 From: "Nathan J. Mehl" Date: Mon, 12 Jun 2017 07:35:27 -0700 Subject: [PATCH] update readme --- README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 4017e8f..6b47411 100644 --- a/README.md +++ b/README.md @@ -90,11 +90,17 @@ Get the components of the package version Get an arbitrary control header, case-independent ------------------------------------------------- - >>> dp.get_header('version') + >>> d.version u'1:0.0.0-test' - - >>> dp.get_header('VERSION') + + >>> d.VERSION u'1:0.0.0-test' + + >>> d.description + u'testdeb\n a bogus debian package for testing dpkg builds' + + >>> d.get('nosuchheader', 'default') + 'default' Compare current version to a candidate version ----------------------------------------------