ok/jj
1
0
Fork 0
forked from mirrors/jj

cli: add deprecation comment to cat, chmod, and files

This commit is contained in:
Yuya Nishihara 2024-08-25 21:25:47 +09:00
parent 3762f890f6
commit 3c15f8106a

View file

@ -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),
@ -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),