summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenny Shields <mail@kennyshields.net>2020-07-29 22:20:39 -0400
committerKenny Shields <mail@kennyshields.net>2020-07-29 22:20:39 -0400
commitd0f26d38a6266c83809a65c5484d6ac1ab89d479 (patch)
tree2f31a1130fff19e3310c471b13beee804091318f
parent6812bc661696f536638929775f95881435aabde5 (diff)
downloaddsymlist-d0f26d38a6266c83809a65c5484d6ac1ab89d479.tar.gz
dsymlist-d0f26d38a6266c83809a65c5484d6ac1ab89d479.zip
Add usage info to help text
-rw-r--r--source/main.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/main.d b/source/main.d
index 396ae1e..1c33b65 100644
--- a/source/main.d
+++ b/source/main.d
@@ -84,6 +84,10 @@ void main(string[] args) {
&__opt_nameSpaces
);
if(helpInfo.helpWanted) {
+ writeln("dsymlist - List D language symbols in a binary file.");
+ writeln("\t");
+ writeln("Usage: [file] [option(s)]");
+ writeln("\t");
foreach(item; helpInfo.options) {
writefln("%7s %s\n\t%s\n", item.optShort, item.optLong, item.help);
}