diff options
| author | dacctal <dacctal@symlinx.net> | 2026-06-22 07:33:06 +0000 |
|---|---|---|
| committer | dacctal <dacctal@symlinx.net> | 2026-06-22 07:33:06 +0000 |
| commit | a18b7108f1648dc69e06bb21e84ec48a2dd60f60 (patch) | |
| tree | 1693a64a18913d751b0e9a23609218bf0d24f01c /src/help.c | |
| parent | 7cde9aeb5dccce578c1eed13cf1ed2c61e446800 (diff) | |
command line args are much nicer, and versions are properly disciplined1.0.0
Diffstat (limited to 'src/help.c')
| -rw-r--r-- | src/help.c | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -17,20 +17,20 @@ void help() { printf("%s%s%s\n", magenta, version, color_reset); } printf("\n"); - printf("%ssubcommands%s:\n", red, color_reset); - printf("%s %sa%s, %sadd %s[url] %s# add a repo\n", color_reset, green, color_reset, yellow, blue, gray); - printf("%s %sb%s, %sbuild %s[path] %s# build a package\n", color_reset, green, color_reset, yellow, blue, gray); - printf("%s %sd%s, %sdeclare %s# install all packages\n", color_reset, green, color_reset, yellow, gray); - printf("%s %ss%s, %ssearch %s[pkgs] %s# find a package from your repos\n", color_reset, green, color_reset, yellow, blue, gray); - printf("%s %si%s, %sinstall %s[pkgs, urls] %s# install a package/repo\n", color_reset, green, color_reset, yellow, blue, gray); - printf("%s %sr%s, %sremove %s[pkgs] %s# remove an installed package\n", color_reset, green, color_reset, yellow, blue, gray); - printf("%s %sl%s, %slist %s# list all installed packages\n", color_reset, green, color_reset, yellow, gray); - printf("%s %su%s, %supdate %s# update all installed packages\n", color_reset, green, color_reset, yellow, gray); - printf("\n"); - printf("%sflags%s:\n", red, color_reset); + printf("%ssubcommand flags%s:\n", red, color_reset); + printf("%s %s-a%s, %s--add %s[url] %s# add a repo\n", color_reset, green, color_reset, yellow, blue, gray); + printf("%s %s-b%s, %s--build %s[path] %s# build a package\n", color_reset, green, color_reset, yellow, blue, gray); + printf("%s %s-d%s, %s--declare %s# install all packages\n", color_reset, green, color_reset, yellow, gray); + printf("%s %s-s%s, %s--search %s[pkgs] %s# find a package from your repos\n", color_reset, green, color_reset, yellow, blue, gray); + printf("%s %s-i%s, %s--install %s[pkgs, urls] %s# install a package/repo\n", color_reset, green, color_reset, yellow, blue, gray); + printf("%s %s-r%s, %s--remove %s[pkgs] %s# remove an installed package\n", color_reset, green, color_reset, yellow, blue, gray); + printf("%s %s-l%s, %s--list %s# list all installed packages\n", color_reset, green, color_reset, yellow, gray); + printf("%s %s-u%s, %s--update %s# update all installed packages\n", color_reset, green, color_reset, yellow, gray); printf("%s %s-h%s, %s--help %s# display this help message\n", color_reset, green, color_reset, yellow, gray); - printf("%s %s-q%s, %s--quiet %s# run without logging to terminal\n", color_reset, green, color_reset, yellow, gray); - printf("%s %s-f%s, %s--force %s# force an operation like 'install'\n", color_reset, green, color_reset, yellow, gray); printf("%s %s-v%s, %s--version %s# display version number\n", color_reset, green, color_reset, yellow, gray); printf("%s %s-c%s, %s--check %s# run package checks\n", color_reset, green, color_reset, yellow, gray); + printf("\n"); + printf("%smodifier flags%s:\n", red, color_reset); + printf("%s %s-q%s, %s--quiet %s# run without logging to terminal\n", color_reset, green, color_reset, yellow, gray); + printf("%s %s-f%s, %s--force %s# force an operation like 'install'\n", color_reset, green, color_reset, yellow, gray); } |
