mirror of
https://github.com/nushell/nushell.git
synced 2025-05-29 06:17:54 +02:00
Merge pull request #382 from devnought/master
use `clap::crate_version!()`, remove async feature
This commit is contained in:
commit
ad8589e5a2
@ -4,7 +4,7 @@ use std::error::Error;
|
|||||||
|
|
||||||
fn main() -> Result<(), Box<dyn Error>> {
|
fn main() -> Result<(), Box<dyn Error>> {
|
||||||
let matches = App::new("nushell")
|
let matches = App::new("nushell")
|
||||||
.version("0.1.3")
|
.version(clap::crate_version!())
|
||||||
.arg(
|
.arg(
|
||||||
Arg::with_name("loglevel")
|
Arg::with_name("loglevel")
|
||||||
.short("l")
|
.short("l")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user