Commit 209c10aa322a2f70ee6c968afbc0cb5174cd2da3
1 parent
71a29f43
Updated usage line for subcommands
Showing
2 changed files
with
5 additions
and
0 deletions
CHANGELOG.md
| 1 | ## Version 0.4 (in progress) | 1 | ## Version 0.4 (in progress) |
| 2 | 2 | ||
| 3 | +* Updates to help print | ||
| 4 | + | ||
| 3 | ## Version 0.3 | 5 | ## Version 0.3 |
| 4 | 6 | ||
| 5 | * Added `->requires`, `->excludes`, and `->envname` from [Plumbum](http://plumbum.readthedocs.io/en/latest/) | 7 | * Added `->requires`, `->excludes`, and `->envname` from [Plumbum](http://plumbum.readthedocs.io/en/latest/) |
include/CLI/App.hpp
| @@ -620,6 +620,9 @@ public: | @@ -620,6 +620,9 @@ public: | ||
| 620 | pos=true; | 620 | pos=true; |
| 621 | } | 621 | } |
| 622 | 622 | ||
| 623 | + if(subcommands.size() > 0) | ||
| 624 | + out << " [SUBCOMMANDS]"; | ||
| 625 | + | ||
| 623 | out << std::endl << std::endl; | 626 | out << std::endl << std::endl; |
| 624 | 627 | ||
| 625 | // Positional descriptions | 628 | // Positional descriptions |