mirror of
https://github.com/nix-community/comma.git
synced 2024-09-11 12:05:28 +03:00
Merge pull request #71 from ErrorNoInternet/short-options
feat: more short options
This commit is contained in:
commit
9d8bcc369e
@ -162,10 +162,10 @@ struct Opt {
|
|||||||
#[clap(short, long)]
|
#[clap(short, long)]
|
||||||
shell: bool,
|
shell: bool,
|
||||||
|
|
||||||
#[clap(long, env = "COMMA_PICKER", default_value = "fzy")]
|
#[clap(short = 'P', long, env = "COMMA_PICKER", default_value = "fzy")]
|
||||||
picker: String,
|
picker: String,
|
||||||
|
|
||||||
#[clap(long, env = "COMMA_NIXPKGS_FLAKE", default_value = "nixpkgs")]
|
#[clap(short = 'F', long, env = "COMMA_NIXPKGS_FLAKE", default_value = "nixpkgs")]
|
||||||
nixpkgs_flake: String,
|
nixpkgs_flake: String,
|
||||||
|
|
||||||
/// DEPRECATED Update nix-index database
|
/// DEPRECATED Update nix-index database
|
||||||
@ -173,7 +173,7 @@ struct Opt {
|
|||||||
update: bool,
|
update: bool,
|
||||||
|
|
||||||
/// Print the package containing the executable
|
/// Print the package containing the executable
|
||||||
#[clap(long = "print-package")]
|
#[clap(short = 'p', long = "print-package")]
|
||||||
print_package: bool,
|
print_package: bool,
|
||||||
|
|
||||||
/// Command to run
|
/// Command to run
|
||||||
|
Loading…
Reference in New Issue
Block a user