mirror of
https://github.com/neocturne/MinedMap.git
synced 2025-03-04 17:23:33 +01:00
Add --version command line argument
This commit is contained in:
parent
003b48951b
commit
1616f3b2e2
3 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,7 @@ use clap::Parser;
|
|||
|
||||
/// Dump a Minecraft NBT data file in a human-readable format
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(version)]
|
||||
struct Args {
|
||||
/// Filename to dump
|
||||
file: PathBuf,
|
||||
|
|
|
@ -10,6 +10,7 @@ use clap::Parser;
|
|||
|
||||
/// Dump a Minecraft NBT region file in a human-readable format
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(version)]
|
||||
struct Args {
|
||||
/// Filename to dump
|
||||
file: PathBuf,
|
||||
|
|
|
@ -20,6 +20,7 @@ use tile_renderer::TileRenderer;
|
|||
|
||||
/// Generate map tiles from Minecraft save data
|
||||
#[derive(Debug, Parser)]
|
||||
#[command(version)]
|
||||
pub struct Args {
|
||||
/// Number of parallel threads to use for processing
|
||||
///
|
||||
|
|
Loading…
Add table
Reference in a new issue