mirror of
https://github.com/sharkdp/hexyl.git
synced 2026-10-26 20:16:31 +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'."),
|
||||
)
|
||||
.arg(
|
||||
Arg::new("character_table")
|
||||
.long("character_table")
|
||||
Arg::new("character-table")
|
||||
.long("character-table")
|
||||
.value_name("FORMAT")
|
||||
.value_parser(["codepage-437", "ascii-only"])
|
||||
.help(
|
||||
@@ -482,7 +482,7 @@ fn run() -> Result<()> {
|
||||
};
|
||||
|
||||
let char_table = match matches
|
||||
.get_one::<String>("character_table")
|
||||
.get_one::<String>("character-table")
|
||||
.unwrap_or(&String::from("ascii-only"))
|
||||
.as_ref()
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user