diff options
author | Lunaphied <lunaphied@lunaphied.me> | 2024-03-21 21:48:34 -0600 |
---|---|---|
committer | Lunaphied <lunaphied@lunaphied.me> | 2024-03-24 21:17:51 -0600 |
commit | 185ecf1f45e6bf2198fe9ca3bb7ad175f412a014 (patch) | |
tree | bdbd1ebea92d41a106cd8bafd3d6f82005e6c0a7 /src/libcmd | |
parent | a7161b6c0f6f9640acc065f0bd18579babacb0cf (diff) |
Improve new CLI UX by supporting short `-E` flag for `--expr`
Change-Id: I55881c846da8416a92a14deedfa5bbbf09a122fb
Diffstat (limited to 'src/libcmd')
-rw-r--r-- | src/libcmd/installables.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libcmd/installables.cc b/src/libcmd/installables.cc index 973db62b0..b40632887 100644 --- a/src/libcmd/installables.cc +++ b/src/libcmd/installables.cc @@ -187,6 +187,7 @@ SourceExprCommand::SourceExprCommand() addFlag({ .longName = "expr", + .shortName = 'E', .description = "Interpret [*installables*](@docroot@/command-ref/new-cli/nix.md#installables) as attribute paths relative to the Nix expression *expr*.", .category = installablesCategory, .labels = {"expr"}, |