Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
O-X-E-Y committed Nov 28, 2023
1 parent 126e5a9 commit 5ab8146
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions crates/xflags/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,11 +162,12 @@
//! }
//! ```
//!
//! You can create aliases if desired. In this case, `run` can be called as `run`, `r` and `exec`:
//! You can create aliases if desired, which is as simple as adding extra names to the `cmd` definition.
//! In this case, `run` can be called as `run`, `r` and `exec`:
//!
//! ```rust
//! xflags::xflags! {
//! cmd run alias r exec {}
//! cmd run r exec {}
//! }
//! ```
//!
Expand Down

0 comments on commit 5ab8146

Please sign in to comment.