diff options
author | Lars Wirzenius <liw@liw.fi> | 2011-06-18 20:07:22 +0100 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2011-06-18 20:07:22 +0100 |
commit | 090db60a57f57b62c9299fdd963df8df841139b1 (patch) | |
tree | 323d0f38d69ba4542ee680f79b05b9b5868a643d | |
parent | 16eb4c02e2af77ee56d135155ecdf380a83fcce0 (diff) | |
parent | 3da360d79e928fab237c5874cc45cad8e343b56e (diff) | |
download | cliapp-090db60a57f57b62c9299fdd963df8df841139b1.tar.gz |
Release version 0.13.cliapp-0.13
-rw-r--r-- | NEWS | 13 | ||||
-rw-r--r-- | cliapp/__init__.py | 2 | ||||
-rw-r--r-- | debian/changelog | 3 |
3 files changed, 15 insertions, 3 deletions
@@ -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 |