summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS13
-rw-r--r--cliapp/__init__.py2
-rw-r--r--debian/changelog3
3 files changed, 15 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index e49b15a..247ee7e 100644
--- a/NEWS
+++ b/NEWS
@@ -1,7 +1,7 @@
NEWS for cliapp
===============
-Version 0.13, released 2011-06-12
+Version 0.13, released 2011-06-18
---------------------------------
* Change default log level to be `debug`. Nothing is logged unless the
@@ -17,6 +17,17 @@ Version 0.13, released 2011-06-12
* The old API for adding settings (`self.settings.add_string_setting` etc)
is gone. This should not bother anyone, since I am the only known user
of cliapp so far, and I've fixed my stuff already.
+* A `metavar` is provided if caller does not provide one. This fixes
+ `--generate-manpage` issue where an option would be documented as not
+ having an argument unless `metavar` was set explicitly.
+* `cliapp.Application.runcmd` runs external programs and captures their
+ standard output.
+* The option parser is now created in a separate method than the one that
+ uses it. This allows applications to modify the option parser in whatever
+ way they want.
+* Only the basename of a program (from `sys.argv[0]`) is used when
+ determining `progname`. This fixes a problem where config files
+ could not be found because `progname` contained slashes.
Version 0.12, released 2011-05-29
---------------------------------
diff --git a/cliapp/__init__.py b/cliapp/__init__.py
index 2687e77..68396d0 100644
--- a/cliapp/__init__.py
+++ b/cliapp/__init__.py
@@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-__version__ = '0.12'
+__version__ = '0.13'
from settings import Settings
diff --git a/debian/changelog b/debian/changelog
index 1823a97..278fe13 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,9 @@ python-cliapp (0.13-1) unstable; urgency=low
* debian/copyright now follows current DEP5 spec.
* debian/control: long description tweaked a bit to more comprehensive.
* packaging updated to use dh_python2.
+ * debian/rules: cleans up better.
- -- Lars Wirzenius <liw@liw.fi> Sun, 12 Jun 2011 13:25:14 +0100
+ -- Lars Wirzenius <liw@liw.fi> Sat, 18 Jun 2011 20:01:35 +0100
python-cliapp (0.12-1) unstable; urgency=low