mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-30 09:05:54 +00:00
Use hyphens instead of underscores
This commit is contained in:
1 parent
6a230d34a4
commit
4e66357618
1 file changed
+3
-3
+3
-3
@@ -213,8 +213,8 @@ fn run() -> Result<()> {
|
|||||||
.help("An alias for '--endianness=little'."),
|
.help("An alias for '--endianness=little'."),
|
||||||
)
|
)
|
||||||
.arg(
|
.arg(
|
||||||
Arg::new("character_table")
|
Arg::new("character-table")
|
||||||
.long("character_table")
|
.long("character-table")
|
||||||
.value_name("FORMAT")
|
.value_name("FORMAT")
|
||||||
.value_parser(["codepage-437", "ascii-only"])
|
.value_parser(["codepage-437", "ascii-only"])
|
||||||
.help(
|
.help(
|
||||||
@@ -482,7 +482,7 @@ fn run() -> Result<()> {
|
|||||||
};
|
};
|
||||||
|
|
||||||
let char_table = match matches
|
let char_table = match matches
|
||||||
.get_one::<String>("character_table")
|
.get_one::<String>("character-table")
|
||||||
.unwrap_or(&String::from("ascii-only"))
|
.unwrap_or(&String::from("ascii-only"))
|
||||||
.as_ref()
|
.as_ref()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user