From 71a29f43d00d56d02f136ad0c849af4e1ce210d0 Mon Sep 17 00:00:00 2001 From: Henry Fredrick Schreiner Date: Sun, 12 Feb 2017 18:25:44 -0500 Subject: [PATCH] Readme updates --- CHANGELOG.md | 2 ++ README.md | 10 +++++----- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0a332135..8dc146ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +## Version 0.4 (in progress) + ## Version 0.3 * Added `->requires`, `->excludes`, and `->envname` from [Plumbum](http://plumbum.readthedocs.io/en/latest/) diff --git a/README.md b/README.md index bc477c97..2b447f24 100644 --- a/README.md +++ b/README.md @@ -141,11 +141,11 @@ even exit the program through the callback. The main `App` has a callback slot, -> ### Subclassing -> -> The App class was designed allow toolkits to subclass it, to provide default options and setup/teardown code. Subcommands remain `App`'s, since those are not expected to need setup and teardown. The default `App` only adds a help flag, `-h,--help`, but provides an option to disable it in the constructor (and in `add_subcommand`). -> -> Also, in a related note, the `App`s you get a pointer to are stored in the parent `App` in `unique_ptr`s (like `Option`s) and are deleted when the main `App` goes out of scope. +## Subclassing + +The App class was designed allow toolkits to subclass it, to provide default options and setup/teardown code. Subcommands remain `App`'s, since those are not expected to need setup and teardown. The default `App` only adds a help flag, `-h,--help`, but provides an option to disable it in the constructor (and in `add_subcommand`). + +Also, in a related note, the `App`s you get a pointer to are stored in the parent `App` in `unique_ptr`s (like `Option`s) and are deleted when the main `App` goes out of scope. ## How it works