Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve compile, lint and fmt warnings #10

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open
29 changes: 14 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions src/bin/es.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ fn main() -> Result<(), Error> {
.help("Sets the input source to parse")
.required(true)
.index(1),
).arg(
)
.arg(
Arg::with_name("verbose")
.short("v")
.long("verbose")
.help("Sets the verbosity"),
).get_matches();
)
.get_matches();
let source = matches.value_of("INPUT").unwrap();
if matches.is_present("verbose") {
println!("source: {:?}", source);
Expand Down
Loading