Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zuisong committed May 15, 2023
1 parent abe9c5c commit 03407d8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ log = "0.4.17"
clap = "4.2.7"
anyhow = "1.0.71"
thiserror = "1.0.40"
clap_complete = "4.2.2"
clap_complete = "4.2.3"
env_logger = "0.10.0"

[[bin]]
Expand Down
3 changes: 2 additions & 1 deletion src/bin/chen_lang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@ extern crate clap;
use clap::{value_parser, Arg, ArgAction, Command};
use clap_complete::{generate, Generator, Shell};
use log::*;
use std::error::Error;
use std::fs::OpenOptions;
use std::io;
use std::io::Read;
use std::io::Write;

fn main() -> Result<(), anyhow::Error> {
fn main() -> Result<(), Box<dyn Error>> {
let mut cmd = Command::new("chen_lang")
.version("0.0.1")
.author("zuisong <[email protected]>")
Expand Down

0 comments on commit 03407d8

Please sign in to comment.