Repository: denoland/deno
File: cli/args/flags.rs (Rust)

Code before:
          Arg::new("compile")
            .long("compile")
            .requires("global")
            .help("Install the script as a compiled executable")
            .action(ArgAction::SetTrue),
        )
        .arg(
          Arg::new("global")
            .long("global")
            .short('g')
            .help("Install a package or script as a globally available executable")
            .action(ArgAction::SetTrue),
        )
        .arg(
          Arg::new("entrypoint")
            .long("entrypoint")
            .short('e')
            .conflicts_with("global")
            .action(ArgAction::SetTrue)
            .help("Install dependents of the specified entrypoint(s)"),
        )
        .arg(env_file_arg())
        .arg(add_dev_arg().conflicts_with("entrypoint").conflicts_with("global"))
        .args(default_registry_args().into_iter().map(|arg| arg.conflicts_with("entrypoint").conflicts_with("global")))
        .arg(
          Arg::new("save_exact")
            .long("save-exact")
            .alias("exact")
            .help("Save exact version without the caret (^)")
            .action(ArgAction::SetTrue)
            .conflicts_with("entrypoint")
            .conflicts_with("global"),
        )
        .arg(lockfile_only_arg().conflicts_with("global"))
    })
}

fn lockfile_only_arg() -> Arg {
  Arg::new("lockfile-only")
    .long("lockfile-only")
    .action(ArgAction::SetTrue)
    .help("Install only updating the lockfile")
}

fn json_reference_subcommand() -> Command {
  Command::new("json_reference").hide(true)
}

fn jupyter_subcommand() -> Command {
  command("jupyter", "Deno kernel for Jupyter notebooks", UnstableArgsConfig::None)
    .arg(

Review comment (suggestion):
```suggestion
          Arg::new("save-exact")
```

Code after:
          Arg::new("compile")
            .long("compile")
            .requires("global")
            .help("Install the script as a compiled executable")
            .action(ArgAction::SetTrue),
        )
        .arg(
          Arg::new("global")
            .long("global")
            .short('g')
            .help("Install a package or script as a globally available executable")
            .action(ArgAction::SetTrue),
        )
        .arg(
          Arg::new("entrypoint")
            .long("entrypoint")
            .short('e')
            .conflicts_with("global")
            .action(ArgAction::SetTrue)
            .help("Install dependents of the specified entrypoint(s)"),
        )
        .arg(env_file_arg())
        .arg(add_dev_arg().conflicts_with("entrypoint").conflicts_with("global"))
        .args(default_registry_args().into_iter().map(|arg| arg.conflicts_with("entrypoint").conflicts_with("global")))
        .arg(
          Arg::new("save-exact")
            .long("save-exact")
            .alias("exact")
            .help("Save exact version without the caret (^)")
            .action(ArgAction::SetTrue)
            .conflicts_with("entrypoint")
            .conflicts_with("global"),
        )
        .arg(lockfile_only_arg().conflicts_with("global"))
    })
}

fn lockfile_only_arg() -> Arg {
  Arg::new("lockfile-only")
    .long("lockfile-only")
    .action(ArgAction::SetTrue)
    .help("Install only updating the lockfile")
}

fn json_reference_subcommand() -> Command {
  Command::new("json_reference").hide(true)
}

fn jupyter_subcommand() -> Command {
  command("jupyter", "Deno kernel for Jupyter notebooks", UnstableArgsConfig::None)
    .arg(