From: Michael Tremer Date: Sun, 15 Oct 2023 11:07:02 +0000 (+0000) Subject: cli: clean: Add a doc string X-Git-Tag: 0.9.30~1519 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd60d597bb8036b1a1a9f73bc1c5c44fa73ba19a;p=pakfire.git cli: clean: Add a doc string Signed-off-by: Michael Tremer --- diff --git a/src/cli/lib/clean.c b/src/cli/lib/clean.c index 1e56cb9f1..6d63747a5 100644 --- a/src/cli/lib/clean.c +++ b/src/cli/lib/clean.c @@ -24,6 +24,9 @@ #include "command.h" #include "pakfire.h" +const char* doc = "Removes any temporary files required or left over by" + " previous builds."; + int cli_clean(void* data, int argc, char* argv[]) { struct pakfire* pakfire = NULL; int r; @@ -31,7 +34,7 @@ int cli_clean(void* data, int argc, char* argv[]) { struct cli_config* config = data; // Parse the command line - r = cli_parse(NULL, NULL, NULL, NULL, NULL, argc, argv, NULL); + r = cli_parse(NULL, NULL, NULL, doc, NULL, argc, argv, NULL); if (r) goto ERROR;