Skip to content

Commit

Permalink
bookmark: fix broken docs URLs that lead to 404 errors
Browse files Browse the repository at this point in the history
Found a few more broken links beyond those in 9b5cdf2.
  • Loading branch information
cenviity committed Oct 24, 2024
1 parent fce1285 commit 5a8d5f9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cli/src/commands/bookmark/list.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pub struct BookmarkListArgs {
///
/// By default, the specified name matches exactly. Use `glob:` prefix to
/// select bookmarks by wildcard pattern. For details, see
/// https://martinvonz.github.io/jj/docs/revsets.md#string-patterns.
/// https://martinvonz.github.io/jj/latest/revsets/#string-patterns.
#[arg(value_parser = StringPattern::parse)]
names: Vec<StringPattern>,

Expand Down
2 changes: 1 addition & 1 deletion cli/src/commands/bookmark/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ use crate::ui::Ui;
/// Manage bookmarks
///
/// For information about bookmarks, see
/// https://martinvonz.github.io/jj/latest/docs/bookmarks.md.
/// https://martinvonz.github.io/jj/latest/bookmarks.
#[derive(clap::Subcommand, Clone, Debug)]
pub enum BookmarkCommand {
#[command(visible_alias("c"))]
Expand Down
4 changes: 2 additions & 2 deletions cli/tests/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ Apply the reverse of a revision on top of another revision
Manage bookmarks
For information about bookmarks, see https://martinvonz.github.io/jj/latest/docs/bookmarks.md.
For information about bookmarks, see https://martinvonz.github.io/jj/latest/bookmarks.
**Usage:** `jj bookmark <COMMAND>`
Expand Down Expand Up @@ -313,7 +313,7 @@ For information about bookmarks, see https://martinvonz.github.io/jj/latest/book
* `<NAMES>` — Show bookmarks whose local name matches
By default, the specified name matches exactly. Use `glob:` prefix to select bookmarks by wildcard pattern. For details, see https://martinvonz.github.io/jj/docs/revsets.md#string-patterns.
By default, the specified name matches exactly. Use `glob:` prefix to select bookmarks by wildcard pattern. For details, see https://martinvonz.github.io/jj/latest/revsets/#string-patterns.
###### **Options:**
Expand Down

0 comments on commit 5a8d5f9

Please sign in to comment.