Add bits not command (#6143)

Add `bits not`

Options: `--number-bytes` and `--sized`
This commit is contained in:
WindSoilder
2022-07-30 17:25:44 +08:00
committed by GitHub
parent d6f4189c7b
commit 586c0ea3d8
5 changed files with 188 additions and 0 deletions

View File

@ -43,6 +43,7 @@ pub enum Category {
Default,
Conversions,
Core,
Bits,
Bytes,
Date,
Env,
@ -93,6 +94,7 @@ impl std::fmt::Display for Category {
Category::Custom(name) => name,
Category::Deprecated => "deprecated",
Category::Bytes => "bytes",
Category::Bits => "bits",
};
write!(f, "{}", msg)