From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Zv3ny3WDZz3316 for ; Fri, 9 May 2025 09:37:58 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail01.haj.ipfire.org", Issuer "R10" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Zv3ny3Ctmz2y59 for ; Fri, 9 May 2025 09:37:58 +0000 (UTC) Received: from people01.haj.ipfire.org (people01.haj.ipfire.org [172.28.1.161]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "people01.haj.ipfire.org", Issuer "E6" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Zv3nx6Y4cz1sk for ; Fri, 9 May 2025 09:37:57 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1746783477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=3ef3HluI1GYXPY4KL3fgTB5iWFIDGv2zXlrNOw4tQa8=; b=BZEDkWST3TNaEqpVAMexXpCe5O7bFC0Z1fsW8y7Jd4YxbzsbJv0xwpNa7i0mnSVtTX5TkI hEv+yw2/ToWbg/Aw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1746783477; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc; bh=3ef3HluI1GYXPY4KL3fgTB5iWFIDGv2zXlrNOw4tQa8=; b=qqqrLlBikYkKTnx9fu4h1D5jtTmmZI9cnPWu1b4CYFAsOTCC2l7/hxburbPVgd7ztgv9oL b+LljZY4FDhTdP9ljsjJaiMTg5fLLPk4fgbmR2rFG2laCWKQhkESrImuRMq3y5Hw7gIOEx 7qTkSxtrsVVB6cEj0R7zV1dvU2vamptGqHvfbuedI3sV1SiKV2AYldV/hQDqlKx66NwGsM IW9nTPbvdGWq8M1mZJyfE1itZZJ84lquITj1zoQ02W64FqWQe5+fv9WXSY1e4SkDnD3mxJ Oi3a+QF4eVYGa5fbJsPps5mlGtkKGC3dUOIjY1iLFZL38XWQpdvU9IBOOPtH2w== Received: by people01.haj.ipfire.org (Postfix, from userid 1000) id 4Zv3nx53HFz2xRC; Fri, 9 May 2025 09:37:57 +0000 (UTC) To: ipfire-scm@lists.ipfire.org Subject: [git.ipfire.org] IPFire 2.x development tree branch, next, updated. acc61093b1c34b590dadb7cbdd864e04ab589498 X-Git-Refname: refs/heads/next X-Git-Reftype: branch X-Git-Oldrev: fbf3998e6b0e59f649cfcd6c9c0fa0cd2645febd X-Git-Newrev: acc61093b1c34b590dadb7cbdd864e04ab589498 Message-Id: <4Zv3nx53HFz2xRC@people01.haj.ipfire.org> Date: Fri, 9 May 2025 09:37:57 +0000 (UTC) From: Michael Tremer Precedence: list List-Id: List-Subscribe: , List-Unsubscribe: , List-Post: List-Help: Sender: Mail-Followup-To: 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 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 Signed-off-by: Michael Tremer ----------------------------------------------------------------------- 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 [options] "); - &Pakfire::message(" - Contact the servers for new lists of paks."); - &Pakfire::message(" - Install the latest version of all paks."); - &Pakfire::message(" [installed|notinstalled|upgrade] - Output a list"); - &Pakfire::message(" of all, installed, available or upgradeable paks."); - &Pakfire::message(" [ ...] - Output pak metadata."); - &Pakfire::message(" [ ...] - Resolve and output pak"); - &Pakfire::message(" dependencies."); - &Pakfire::message(" - 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