aboutsummaryrefslogtreecommitdiff
path: root/examples/no_version.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/no_version.rs')
-rw-r--r--examples/no_version.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/no_version.rs b/examples/no_version.rs
index a542ec1..5fc6274 100644
--- a/examples/no_version.rs
+++ b/examples/no_version.rs
@@ -1,4 +1,15 @@
//! How to completely remove version.
+//!
+//! Running this example with --help prints this message:
+//! -----------------------------------------------------
+//! no_version
+//!
+//! USAGE:
+//! no_version
+//!
+//! FLAGS:
+//! -h, --help Prints help information
+//! -----------------------------------------------------
use structopt::clap::AppSettings;
use structopt::StructOpt;