mirror of https://git.sr.ht/~nixgoat/vento
doc: Add "vento -u" to documentation
I was about to release v1.1.0 until I forgot this command was completely undocumented, so here it is.
This commit is contained in:
parent
69ce377ec1
commit
4f0c52ac16
6
build.rs
6
build.rs
|
@ -56,6 +56,12 @@ fn vento() -> Result<Page> {
|
||||||
.long("--switch")
|
.long("--switch")
|
||||||
.help("Switches inventory slots"),
|
.help("Switches inventory slots"),
|
||||||
)
|
)
|
||||||
|
.flag(
|
||||||
|
Flag::new()
|
||||||
|
.short("-u")
|
||||||
|
.long("--undo")
|
||||||
|
.help("Undoes the last action"),
|
||||||
|
)
|
||||||
.flag(
|
.flag(
|
||||||
Flag::new()
|
Flag::new()
|
||||||
.short("-i")
|
.short("-i")
|
||||||
|
|
|
@ -29,6 +29,7 @@ pub fn vento() -> Result<()> {
|
||||||
{}
|
{}
|
||||||
- {}: Lists files in selected inventory
|
- {}: Lists files in selected inventory
|
||||||
- {}: Switches slots
|
- {}: Switches slots
|
||||||
|
- {}: Undoes the last action
|
||||||
- {}: Initializes Vento
|
- {}: Initializes Vento
|
||||||
- {}: Displays this message",
|
- {}: Displays this message",
|
||||||
"Vento".bold().blue(),
|
"Vento".bold().blue(),
|
||||||
|
@ -37,6 +38,7 @@ pub fn vento() -> Result<()> {
|
||||||
.bold()
|
.bold()
|
||||||
.green(),
|
.green(),
|
||||||
"vento ( -c | --switch )".bold().green(),
|
"vento ( -c | --switch )".bold().green(),
|
||||||
|
"vento ( -u | --undo )".bold().green(),
|
||||||
"vento ( -i | --init )".bold().green(),
|
"vento ( -i | --init )".bold().green(),
|
||||||
"vento ( -h | --help )".bold().green()
|
"vento ( -h | --help )".bold().green()
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue