Update to better match other examples

This commit is contained in:
Daniel McNab 2023-02-08 22:48:34 +00:00
parent 3a63f00e7e
commit 19552ad819
2 changed files with 8 additions and 3 deletions

View file

@ -1,7 +1,12 @@
[package]
name = "headless"
version = "0.1.0"
edition = "2021"
description = "An example showing how to use `vello` to create raster images"
publish = false
version.workspace = true
license.workspace = true
edition.workspace = true
repository.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -220,7 +220,7 @@ async fn render(mut scenes: SceneSet, index: usize, args: &Args) -> Result<()> {
}
#[derive(Parser, Debug)]
#[command(about, long_about = None, bin_name="cargo run -p with_winit --")]
#[command(about, long_about = None, bin_name="cargo run -p headless --")]
struct Args {
#[arg(long, short, global(false))]
x_resolution: Option<u32>,