Compare commits

..

No commits in common. "515f6da05cffeae28fc1656ba8e18c4fa69c6a85" and "2617c192275a2eb23e4035fa1b62b4aabb12e902" have entirely different histories.

2 changed files with 2 additions and 10 deletions

View file

@ -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

View file

@ -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"]);