aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2020-10-02 09:16:43 +0000
committerBlaž Hrastnik2020-10-02 09:16:43 +0000
commit7b4a4f6a3cec10f7b2d4a406cc68b5929b36b0a1 (patch)
tree3e2e7c4a9e249fe90bf2dff5d26335fb16f63b54 /helix-term/src
parentaa077a07f38174c9be7e9ec9ca0fd95b7686937e (diff)
Use crate info for clap help text.
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/main.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/helix-term/src/main.rs b/helix-term/src/main.rs
index eeb498bc..f5af9175 100644
--- a/helix-term/src/main.rs
+++ b/helix-term/src/main.rs
@@ -12,9 +12,7 @@ use anyhow::Error;
static EX: smol::Executor = smol::Executor::new();
fn main() -> Result<(), Error> {
- let args = App::new("helix")
- .version("0.1")
- .about("A post-modern text editor.")
+ let args = clap::app_from_crate!()
.arg(
Arg::new("files")
.about("Sets the input file to use")