Skip to content

Commit

Permalink
Change variant option command to -v
Browse files Browse the repository at this point in the history
  • Loading branch information
timothymtorres committed Oct 21, 2024
2 parents 56c04f0 + f72204d commit b5720b0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/export-map.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Examples
Exports the fortress map to JSON with ALL data included

``export-map include -m -s -v``
Exports the fortress map to JSON with only materials, shape, and vein data
included
Exports the fortress map to JSON with only materials, shape, and variant
data included

``export-map exclude --variant --hidden --light``
Exports the fortress map to JSON with variant, hidden, and light data
Expand Down Expand Up @@ -61,7 +61,7 @@ Options
The tile surface special properties for smoothness [number ID]
(NORMAL/SMOOTH/ROUGH/etc.) (used for engraving)

``-r``, ``--variant``
``-v``, ``--variant``
The specific variant of a tile that have visual variations [number] (like
grass tiles in ASCII mode)

Expand Down
2 changes: 1 addition & 1 deletion export-map.lua
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ local positionals = argparse.processArgsGetopt(args, {
{'t', 'tiletype', handler=function() options.tiletype = true end},
{'s', 'shape', handler=function() options.shape = true end},
{'p', 'special', handler=function() options.special = true end},
{'r', 'variant', handler=function() options.variant = true end},
{'v', 'variant', handler=function() options.variant = true end},
{'h', 'hidden', handler=function() options.hidden = true end},
{'l', 'light', handler=function() options.light = true end},
{'b', 'subterranean', handler=function() options.subterranean = true end},
Expand Down

0 comments on commit b5720b0

Please sign in to comment.