add -e flag to print, to print the value to stderr (#5935)

* Refactor: make stdout write all and flush as generic function

* support print to stderr
This commit is contained in:
WindSoilder
2022-07-02 22:54:49 +08:00
committed by GitHub
parent be7f35246e
commit 84caf8859f
8 changed files with 64 additions and 16 deletions

View File

@ -44,6 +44,7 @@ mod open;
mod parse;
mod path;
mod prepend;
mod print;
#[cfg(feature = "database")]
mod query;
mod random;