Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1067,7 +1067,7 @@ OPTIONS:
--offset
Offset second UF2 by amount
<offset>
offset amount (default to 0)
offset amount (default to 0x0)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
offset amount (default to 0x0)
offset amount (hexadecimal, default to 0x0)

Partition options
--partition
Place second UF2 in partition (first UF2 must contain a partition table)
Expand Down
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1639,7 +1639,7 @@ struct uf2_combine_command : public cmd {
).force_expand_help(true) % "UF2 Family options" +
(
option("--offset").set(settings.uf2.offset_set) % "Offset second UF2 by amount" &
hex("offset").set(settings.uf2.offset) % "offset amount (default to 0)"
hex("offset").set(settings.uf2.offset) % "offset amount (default to 0x0)"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe worth explicitly mentioning it is hexadecimal too?

Suggested change
hex("offset").set(settings.uf2.offset) % "offset amount (default to 0x0)"
hex("offset").set(settings.uf2.offset) % "offset amount (hexadecimal, default to 0x0)"

).force_expand_help(true) % "Offset options" +
(
option("--partition").set(settings.uf2.partition_set) % "Place second UF2 in partition (first UF2 must contain a partition table)" &
Expand Down
Loading