Skip to content

Commit

Permalink
1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmaSd committed Dec 2, 2020
1 parent 21699e0 commit f8fe9c5
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
**1.2.0**
- Remove notify
- :edit command work as usual with terminal editors, for gui editors like vs code, the `:sync` command needs to be used after the writing
- Bug fixes
- Add benchmark

**1.1.2**
- Hotfix: Actually Add missing exit after (irust -x)

Expand Down
2 changes: 1 addition & 1 deletion 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
@@ -1,6 +1,6 @@
[package]
name = "irust"
version = "1.1.2"
version = "1.2.0"
authors = ["Nbiba Bedis <[email protected]>"]
edition = "2018"
readme = "README.md"
Expand Down
6 changes: 3 additions & 3 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ use crate::irust::options::Options;

use std::env;

const VERSION: &str = "1.1.2";
const VERSION: &str = "1.2.0";

pub fn handle_args(options: &mut Options) -> bool {
let args: Vec<String> = env::args().skip(1).collect();

if !args.is_empty() {
match args[0].as_str() {
"-h" | "--help" => {
print!(
println!(
"IRust: Cross Platform Rust REPL
version: {}\n
config file is in {}\n
Expand All @@ -25,7 +25,7 @@ pub fn handle_args(options: &mut Options) -> bool {
}

"-v" | "--version" => {
print!("{}", VERSION);
println!("{}", VERSION);
return true;
}

Expand Down

0 comments on commit f8fe9c5

Please sign in to comment.