public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: "Jon Murphy" <jon.murphy@ipfire.org>
To: "Stephen Cuka" <stephen@firemypi.org>,
	"IPFire: Development-List" <development@lists.ipfire.org>
Cc: "Stephen Cuka" <stephen@firemypi.org>
Subject: Re: [PATCH] functions.pl: Fix Bug13842 - Add resolvedeps to pakfire Usage:.
Date: Thu, 24 Apr 2025 22:46:37 +0000	[thread overview]
Message-ID: <emb6d923e0-625b-47e0-9686-6829a98e028a@e8133429.com> (raw)
In-Reply-To: <20250423023903.144393-1-stephen@firemypi.org>

Sorry for the late suggestion!

I cleaned up the pakfire help a little.  It removes some of the leading 
spaces.


```
[root@ipfire ~] # pakfire

Usage:
     pakfire <command> [option] <packages>…

     pakfire provides a safe and easy way to install add-ons and updates.

Commands:
     install [option] <packages>...  - install one or more packages
     remove  [option] <packages>...  - uninstall one or more packages
     update                          - download new databases of packages
     upgrade                         - install latest version of all 
packages
     list [ --no-colors | installed | notinstalled | upgrade ]
                                     - provides a list with all, 
installed,
                                       available, or upgradeable packages
     info <packages>...              - provides package metadata for one 
or
                                       more packages
     resolvedeps <packages>...       - provides a list of dependencies 
for
                                       one or more packages
     status                          - summary of available core 
upgrades,
                                       updates, and a required reboot

Options:
     -y | --non-interactive          - enables the non-interactive mode
     --no-colors                     - turns off colors
```

Feel free to use or feel free to ignore this.  It is a suggestion.

Jon


------ Original Message ------
From "Stephen Cuka" <stephen@firemypi.org>
To development@lists.ipfire.org
Cc "Stephen Cuka" <stephen@firemypi.org>
Date 4/22/2025 9:39:03 PM
Subject [PATCH] functions.pl: Fix Bug13842 - Add resolvedeps to pakfire 
Usage:.

>  - Add 'resolvedeps' command to pakfire 'Usage:'.
>
>  - Break long lines in 'Usage:' so that they don't wrap.
>
>  - Minor text and punctuation changes.
>
>Signed-off-by: Stephen Cuka <stephen@firemypi.org>
>---
>  src/pakfire/lib/functions.pl | 12 ++++++++----
>  1 file changed, 8 insertions(+), 4 deletions(-)
>
>diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl
>index e623e8bc3..17b04ad52 100644
>--- a/src/pakfire/lib/functions.pl
>+++ b/src/pakfire/lib/functions.pl
>@@ -112,11 +112,15 @@ sub logger {
>
>  sub usage {
>    &Pakfire::message("Usage: pakfire <install|remove> [options] <pak(s)>");
>-  &Pakfire::message("               <update> - Contacts the servers for new lists of paks.");
>-  &Pakfire::message("               <upgrade> - Installs the latest version of all paks.");
>-  &Pakfire::message("               <list> [installed/notinstalled/upgrade] - Outputs a list with all, installed, available or upgradeable paks.");
>+  &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("               <status> - Outputs a summary about available core upgrades, updates and a required reboot");
>+  &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.");
>--
>2.43.0
>
>


      reply	other threads:[~2025-04-24 22:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-04-23  2:39 Stephen Cuka
2025-04-24 22:46 ` Jon Murphy [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=emb6d923e0-625b-47e0-9686-6829a98e028a@e8133429.com \
    --to=jon.murphy@ipfire.org \
    --cc=development@lists.ipfire.org \
    --cc=stephen@firemypi.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox