Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: default to log when no subcommand is provided #1525

Merged
merged 1 commit into from Apr 17, 2023

Commits on Apr 17, 2023

  1. cli: default to log when no subcommand is provided

    This is a convenience optimization to improve the default user
    experience, since `jj log` is a frequently run command. Accessing the
    help information explicitly still follows normal CLI conventions, and
    instructions are displayed appropriately if the user happens to make a
    mistake. Discoverability should not be adversely harmed.
    
    Note that this behavior mirrors what Sapling does [2], where `sl` will
    display the smartlog by default.
    
    [1] clap-rs/clap#975
    [2] https://sapling-scm.com/docs/overview/smartlog
    elasticdog committed Apr 17, 2023
    Copy the full SHA
    b2924e8 View commit details
    Browse the repository at this point in the history