Compare commits
No commits in common. "515f6da05cffeae28fc1656ba8e18c4fa69c6a85" and "2617c192275a2eb23e4035fa1b62b4aabb12e902" have entirely different histories.
515f6da05c
...
2617c19227
2 changed files with 2 additions and 10 deletions
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "pride"
|
||||
version = "0.2.2"
|
||||
version = "0.2.1"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
|
10
src/main.rs
10
src/main.rs
|
@ -1,7 +1,4 @@
|
|||
use std::{
|
||||
io::{ stdout, IsTerminal },
|
||||
process::exit
|
||||
};
|
||||
use std::process::exit;
|
||||
|
||||
use pico_args::Arguments;
|
||||
|
||||
|
@ -38,11 +35,6 @@ fn main() {
|
|||
return;
|
||||
}
|
||||
|
||||
if !stdout().is_terminal() {
|
||||
println!("pride: output must be a terminal");
|
||||
exit(2);
|
||||
}
|
||||
|
||||
// get small flag
|
||||
let small = args.contains(["-s", "--small"]);
|
||||
|
||||
|
|
Loading…
Reference in a new issue