add hidden flags that dont show up in suggestions, mainly for global flags

This commit is contained in:
dusk 2025-09-27 00:21:34 +00:00
parent c92c3f84f0
commit 6d6dcc389f
No known key found for this signature in database
2 changed files with 35 additions and 20 deletions

View file

@ -29,9 +29,9 @@ pub fn all() -> impl Iterator<Item = Command> {
.chain(switch::cmds())
.chain(random::cmds())
.map(|cmd| {
cmd.flag(("plaintext", ["pt"]))
.flag(("raw", ["r"]))
.flag(("show-embed", ["se"]))
cmd.hidden_flag(("plaintext", ["pt"]))
.hidden_flag(("raw", ["r"]))
.hidden_flag(("show-embed", ["se"]))
})
}