diff options
| author | dacctal <dacctal@symlinx.net> | 2026-05-25 10:55:12 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-05-25 10:55:12 +0000 |
| commit | d864bf7907c814eef30e906e59b0890df34d311c (patch) | |
| tree | 93623d63a5d5f77e909d117688202a77342f18de /src/cla_parse.c | |
| parent | 52cc7c1f80eda62f4bd02d5b0cfd6701e0043842 (diff) | |
'find' will show all installed packages
Diffstat (limited to 'src/cla_parse.c')
| -rw-r--r-- | src/cla_parse.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cla_parse.c b/src/cla_parse.c index 91dca3f..6bac273 100644 --- a/src/cla_parse.c +++ b/src/cla_parse.c @@ -8,6 +8,7 @@ #include "build.h" #include "create_pkg.h" #include "declare.h" +#include "find.h" #include "help.h" #include "install_pkg.h" #include "list_pkgs.h" @@ -34,7 +35,7 @@ void cla_parse(int argc, char **argv) { } for (int i = 1; i < argc; i++) { - COMMAND("--large", "-l", { is_symlink_install = true; }); + COMMAND("--link", "-l", { is_symlink_install = true; }); COMMAND("add", "a", { if (argv[i + 1]) { add_repo(argv[i + 1], name_from_url(argv[i + 1])); @@ -80,6 +81,7 @@ void cla_parse(int argc, char **argv) { COMMAND("update", "u", { update_all(); }); COMMAND("declare", "d", { declare(); }); COMMAND("list", "l", { list_pkgs(); }); + COMMAND("find", "f", { find(); }); COMMAND("--version", "-v", { printf("%s\n", version); }); COMMAND("--help", "-h", { help(); }); COMMAND("--check", "-c", { resolve_deps(); return; }); |
