Skip to content

Commit

Permalink
cli: add deprecation comment to cat, chmod, and files
Browse files Browse the repository at this point in the history
  • Loading branch information
yuja committed Aug 25, 2024
1 parent 3762f89 commit 3c15f81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,12 @@ enum Command {
Bench(bench::BenchCommand),
#[command(subcommand)]
Branch(branch::BranchCommand),
// TODO: Delete `cat` in jj 0.25+
#[command(alias = "print", hide = true)]
Cat(file::show::FileShowArgs),
#[command(hide = true)]
Checkout(checkout::CheckoutArgs),
// TODO: Delete `chmod` in jj 0.25+
#[command(hide = true)]
Chmod(file::chmod::FileChmodArgs),
Commit(commit::CommitArgs),
Expand All @@ -98,6 +100,7 @@ enum Command {
#[command(subcommand)]
File(file::FileCommand),
/// List files in a revision (DEPRECATED use `jj file list`)
// TODO: Delete `files` in jj 0.25+
#[command(hide = true)]
Files(file::list::FileListArgs),
Fix(fix::FixArgs),
Expand Down

0 comments on commit 3c15f81

Please sign in to comment.