We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92ec546 commit 11bfbdaCopy full SHA for 11bfbda
git-branchless-opts/src/lib.rs
@@ -171,13 +171,11 @@ pub struct SwitchOptions {
171
#[clap(action, short = 'd', long = "detach")]
172
pub detach: bool,
173
174
- /// The commit or branch to check out.
+ /// The commit or branch to check out. If not provided, defaults to the
175
+ /// current commit.
176
///
177
/// If a revset is provided, it must evaluate to set with exactly 1 head.
178
- /// If this is not provided, then interactive commit selection starts as
179
- /// if `--interactive` were passed.
180
- ///
181
/// If this is provided and the `--interactive` flag is passed, this
182
/// text is used to pre-fill the interactive commit selector.
183
#[clap(value_parser)]
0 commit comments