Unified · Split
| @@ -180,12 +180,13 @@ pub mod commit { · 179 unmodified lines | ||
| 180 | 180 | |
| 181 | 181 | pub mod revision { |
| 182 | 182 | #[derive(Debug, clap::Subcommand)] |
| 183 | − #[clap(visible_alias = "rev")] | |
| 183 | + #[clap(visible_alias = "rev", visible_alias = "r")] | |
| 184 | 184 | pub enum Subcommands { |
| 185 | 185 | /// Provide the revision specification like `@~1` to explain. |
| 186 | + #[clap(visible_alias = "e")] | |
| 186 | 187 | Explain { spec: std::ffi::OsString }, |
| 187 | 188 | /// Try to resolve the given revspec and print the object names. |
| 188 | − #[clap(visible_alias = "query", visible_alias = "parse")] | |
| 189 | + #[clap(visible_alias = "query", visible_alias = "parse", visible_alias = "p")] | |
| 189 | 190 | Resolve { |
| 190 | 191 | /// Instead of resolving a rev-spec, explain what would be done for the first spec. |
| 191 | 192 | /// |
| @@ -200,6 +201,7 @@ pub mod revision { · 8 unmodified lines | ||
| 200 | 201 | specs: Vec<std::ffi::OsString>, |
| 201 | 202 | }, |
| 202 | 203 | /// Return the names and hashes of all previously checked-out branches. |
| 204 | + #[clap(visible_alias = "prev")] | |
| 203 | 205 | PreviousBranches, |
| 204 | 206 | } |
| 205 | 207 | } |