Add help and some command line args

This commit is contained in:
Arthur Beck 2025-05-02 20:34:57 -05:00
parent fdfddec576
commit 98e3fb15db
Signed by: ArthurB
GPG key ID: CA200B389F0F6BC9
3 changed files with 77 additions and 2 deletions

View file

@ -3,6 +3,11 @@ use roff::{Roff, bold, italic, roman};
use std::{env, path::PathBuf};
fn main() {
println!(
"cargo:rustc-env=TARGET={}",
std::env::var("TARGET").unwrap()
);
let page = Roff::new()
.control("TH", ["SESH", "1"])
.control("SH", ["NAME"])