Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] sorcery menu changes

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Jason Flatt <jflatt AT sourcemage.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] sorcery menu changes
  • Date: Tue, 3 Jan 2006 22:11:41 -0800

On Tuesday 03 January 2006 12:39, Andrew wrote:
> On Tue, Jan 03, 2006 at 12:11:39PM -0800, Eric Sandall wrote:
> >
> > <snip>
> >
> > I almost always use the CLI. Is the CLI in for planned updates as well
> > (e.g. all options use -- (e.g. sorcery --queue and cast --queue instead
> > of sorcery queue and cast --queue))?
>
> huh?

What he means is that the command line options should follow accepted
practices for CLI programs, like this:

-h | --help | help Display this help screen

and not this:

-q | queue Compare installed grimoire to installed spells,
generate queue of spells needing to be updated.

In other words, he's saying that the following (as an example):

-s | system-update Perform a system update (updates sorcery, grimoire,
and spells).
[ scribe update, sorcery queue, cast --queue ]
-u | update Update the sorcery scripts only.
-g | upgrade Do not update grimoire, just any spells that need to
be upgraded. [ sorcery queue, cast --queue ]

-r | rebuild rebuild all spells

-q | queue Compare installed grimoire to installed spells,
generate queue of spells needing to be updated.
queue-security Same as queue, but only for spells that need
updating due to security fixes.

should be changed like so:

-s | --system-update Perform a system update (updates sorcery, grimoire,
and spells).
[ scribe update, sorcery queue, cast --queue ]
-u | --update Update the sorcery scripts only.
-g | --upgrade Do not update grimoire, just any spells that need to
be upgraded. [ sorcery queue, cast --queue ]

-r | --rebuild rebuild all spells

-q | --queue Compare installed grimoire to installed spells,
generate queue of spells needing to be updated.
--queue-security Same as queue, but only for spells that need
updating due to security fixes.

For some history:
http://bugs.sourcemage.org/show_bug.cgi?id=2410

--
Jason Flatt
jflatt AT sourcemage.org
Source Mage GNU/Linux: Linux so advanced, it may as well be magic.
http://www.sourcemage.org/

Attachment: pgp998uI_8LA1.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page