public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
* [git.ipfire.org] IPFire 2.x development tree branch, next, updated. acc61093b1c34b590dadb7cbdd864e04ab589498
@ 2025-05-09  9:37 Michael Tremer
  0 siblings, 0 replies; only message in thread
From: Michael Tremer @ 2025-05-09  9:37 UTC (permalink / raw)
  To: ipfire-scm

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".

The branch, next has been updated
       via  acc61093b1c34b590dadb7cbdd864e04ab589498 (commit)
      from  fbf3998e6b0e59f649cfcd6c9c0fa0cd2645febd (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit acc61093b1c34b590dadb7cbdd864e04ab589498
Author: Stephen Cuka <stephen@firemypi.org>
Date:   Thu May 8 13:11:19 2025 -0600

    functions.pl: Reformat pakfire Usage: text.
    
    - Reformat pakfire Usage: text to make it clearer.
    
     - Add '-f | --force' to Usage:.
    
    Signed-off-by: Stephen Cuka <stephen@firemypi.org>
    Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>

-----------------------------------------------------------------------

Summary of changes:
 src/pakfire/lib/functions.pl | 38 ++++++++++++++++++++++----------------
 1 file changed, 22 insertions(+), 16 deletions(-)

Difference in files:
diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl
index 17b04ad52..2f172c398 100644
--- a/src/pakfire/lib/functions.pl
+++ b/src/pakfire/lib/functions.pl
@@ -111,22 +111,28 @@ sub logger {
 }
 
 sub usage {
-  &Pakfire::message("Usage: pakfire <install|remove> [options] <pak(s)>");
-  &Pakfire::message("               <update> - Contact the servers for new lists of paks.");
-  &Pakfire::message("               <upgrade> - Install the latest version of all paks.");
-  &Pakfire::message("               <list> [installed|notinstalled|upgrade] - Output a list");
-  &Pakfire::message("                 of all, installed, available or upgradeable paks.");
-  &Pakfire::message("               <info> <pak> [<pak> ...] - Output pak metadata.");
-  &Pakfire::message("               <resolvedeps> <pak> [<pak> ...] - Resolve and output pak");
-  &Pakfire::message("                 dependencies.");
-  &Pakfire::message("               <status> - Output a summary of available core upgrades,");
-  &Pakfire::message("                 updates and a required reboot.");
-  &Pakfire::message("");
-  &Pakfire::message("       Global options:");
-  &Pakfire::message("               --non-interactive --> Enables the non-interactive mode.");
-  &Pakfire::message("                                     You won't see any question here.");
-  &Pakfire::message("                              -y --> Short for --non-interactive.");
-  &Pakfire::message("                     --no-colors --> Turns off the wonderful colors.");
+  &Pakfire::message("Usage: pakfire COMMAND [OPTIONS] [PACKAGE ...]");
+  &Pakfire::message("Manage IPFire add-on packages and updates.");
+  &Pakfire::message("PACKAGE:");
+  &Pakfire::message("  one or more add-on package names");
+  &Pakfire::message("COMMAND:");
+  &Pakfire::message("  install      - install one or more packages");
+  &Pakfire::message("  remove       - remove one or more packages");
+  &Pakfire::message("  update       - update the pakfire database");
+  &Pakfire::message("  upgrade      - upgrade all packages to the latest version");
+  &Pakfire::message("  list [installed | notinstalled | upgrade]");
+  &Pakfire::message("               - display a list of installed, notinstalled,");
+  &Pakfire::message("                 upgradeable or all packages");
+  &Pakfire::message("  info         - display metadata for one or more packages");
+  &Pakfire::message("  resolvedeps  - display dependencies for one or more packages");
+  &Pakfire::message("  status       - display pakfire database status,");
+  &Pakfire::message("                 available updates and whether a reboot");
+  &Pakfire::message("                 is required to complete any upgrades");
+  &Pakfire::message("OPTIONS:");
+  &Pakfire::message("  --no-colors             - turn off colors");
+  &Pakfire::message("  -y | --non-interactive  - automatic yes to prompts");
+  &Pakfire::message("  -f | --force            - for the update command, force");
+  &Pakfire::message("                            a pakfire database update");
   &Pakfire::message("");
   exit 1;
 }


hooks/post-receive
--
IPFire 2.x development tree


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-09  9:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-05-09  9:37 [git.ipfire.org] IPFire 2.x development tree branch, next, updated. acc61093b1c34b590dadb7cbdd864e04ab589498 Michael Tremer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox