forked from mirrors/jj
cli: add deprecation comment to cat, chmod, and files
This commit is contained in:
parent
3762f890f6
commit
3c15f8106a
1 changed files with 3 additions and 0 deletions
|
@ -79,10 +79,12 @@ enum Command {
|
||||||
Bench(bench::BenchCommand),
|
Bench(bench::BenchCommand),
|
||||||
#[command(subcommand)]
|
#[command(subcommand)]
|
||||||
Branch(branch::BranchCommand),
|
Branch(branch::BranchCommand),
|
||||||
|
// TODO: Delete `cat` in jj 0.25+
|
||||||
#[command(alias = "print", hide = true)]
|
#[command(alias = "print", hide = true)]
|
||||||
Cat(file::show::FileShowArgs),
|
Cat(file::show::FileShowArgs),
|
||||||
#[command(hide = true)]
|
#[command(hide = true)]
|
||||||
Checkout(checkout::CheckoutArgs),
|
Checkout(checkout::CheckoutArgs),
|
||||||
|
// TODO: Delete `chmod` in jj 0.25+
|
||||||
#[command(hide = true)]
|
#[command(hide = true)]
|
||||||
Chmod(file::chmod::FileChmodArgs),
|
Chmod(file::chmod::FileChmodArgs),
|
||||||
Commit(commit::CommitArgs),
|
Commit(commit::CommitArgs),
|
||||||
|
@ -98,6 +100,7 @@ enum Command {
|
||||||
#[command(subcommand)]
|
#[command(subcommand)]
|
||||||
File(file::FileCommand),
|
File(file::FileCommand),
|
||||||
/// List files in a revision (DEPRECATED use `jj file list`)
|
/// List files in a revision (DEPRECATED use `jj file list`)
|
||||||
|
// TODO: Delete `files` in jj 0.25+
|
||||||
#[command(hide = true)]
|
#[command(hide = true)]
|
||||||
Files(file::list::FileListArgs),
|
Files(file::list::FileListArgs),
|
||||||
Fix(fix::FixArgs),
|
Fix(fix::FixArgs),
|
||||||
|
|
Loading…
Reference in a new issue