From 423a894cba5c78a3e0cc30431e1dc9152c35bb3b Mon Sep 17 00:00:00 2001 From: Martin von Zweigbergk Date: Sat, 18 Dec 2021 07:54:46 -0800 Subject: [PATCH] docs: consistently use hyphens in filenames --- README.md | 2 +- docs/{operation_log.md => operation-log.md} | 0 docs/{related_work.md => related-work.md} | 0 docs/{working_copy.md => working-copy.md} | 0 src/commands.rs | 8 ++++---- 5 files changed, 5 insertions(+), 5 deletions(-) rename docs/{operation_log.md => operation-log.md} (100%) rename docs/{related_work.md => related-work.md} (100%) rename docs/{working_copy.md => working-copy.md} (100%) diff --git a/README.md b/README.md index d5864184c..1427864af 100644 --- a/README.md +++ b/README.md @@ -148,4 +148,4 @@ The best way to get started is probably to go through ## Related work There are several tools trying to solve similar problems as Jujutsu. See -[related work](docs/related_work.md) for details. +[related work](docs/related-work.md) for details. diff --git a/docs/operation_log.md b/docs/operation-log.md similarity index 100% rename from docs/operation_log.md rename to docs/operation-log.md diff --git a/docs/related_work.md b/docs/related-work.md similarity index 100% rename from docs/related_work.md rename to docs/related-work.md diff --git a/docs/working_copy.md b/docs/working-copy.md similarity index 100% rename from docs/working_copy.md rename to docs/working-copy.md diff --git a/src/commands.rs b/src/commands.rs index 70d02019a..bc0e84724 100644 --- a/src/commands.rs +++ b/src/commands.rs @@ -748,7 +748,7 @@ fn get_app<'a, 'b>() -> App<'a, 'b> { "Update the working copy to another revision. If the revision is closed or has \ conflicts, then a new, open revision will be created on top, and that will be checked \ out. For more information, see \ - https://github.com/martinvonz/jj/blob/main/docs/working_copy.md.", + https://github.com/martinvonz/jj/blob/main/docs/working-copy.md.", ) .arg( Arg::with_name("revision") @@ -923,7 +923,7 @@ With the `--from` and/or `--to` options, shows the difference from/to the given .about("Mark a revision closed") .long_about( "Mark a revision closed. For information about open/closed revisions, see \ - https://github.com/martinvonz/jj/blob/main/docs/working_copy.md.", + https://github.com/martinvonz/jj/blob/main/docs/working-copy.md.", ) .arg( Arg::with_name("revision") @@ -943,7 +943,7 @@ With the `--from` and/or `--to` options, shows the difference from/to the given .alias("uncommit") .long_about( "Mark a revision open. For information about open/closed revisions, see \ - https://github.com/martinvonz/jj/blob/main/docs/working_copy.md.", + https://github.com/martinvonz/jj/blob/main/docs/working-copy.md.", ) .arg( Arg::with_name("revision") @@ -1220,7 +1220,7 @@ For information about branches, see https://github.com/martinvonz/jj/blob/main/d .about("Commands for working with the operation log") .long_about( "Commands for working with the operation log. For information about the \ - operation log, see https://github.com/martinvonz/jj/blob/main/docs/operation_log.md.", + operation log, see https://github.com/martinvonz/jj/blob/main/docs/operation-log.md.", ) .setting(clap::AppSettings::SubcommandRequiredElseHelp) .subcommand(SubCommand::with_name("log").about("Show the operation log"))