mirror of
https://github.com/thegeeklab/url-parser.git
synced 2024-09-28 18:28:15 +00:00
fix: rename host flag alias from h to ht (#80)
BREAKING CHANGE: The alias `h` for the `host` flag was in conflict with the default help alias and was renamed to `ht`.
This commit is contained in:
parent
930e1aac89
commit
872985ac58
@ -72,7 +72,7 @@ func main() {
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Name: "host",
|
Name: "host",
|
||||||
Aliases: []string{"h"},
|
Aliases: []string{"ht"},
|
||||||
Usage: "Get hostname from url",
|
Usage: "Get hostname from url",
|
||||||
Action: command.Host(cfg),
|
Action: command.Host(cfg),
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user