[Gnucash-changes] r12868 - gnucash/trunk/src/bin - Use popt to
automatically generate pretty --usage and --help.
Derek Atkins
warlord at MIT.EDU
Wed Jan 18 20:46:58 EST 2006
Quoting Chris Shoemaker <c.shoemaker at cox.net>:
> On Wed, Jan 18, 2006 at 08:31:55PM -0500, Derek Atkins wrote:
>> Quoting Chris Shoemaker <chris at cvs.gnucash.org>:
>>
>> >+ {"rpc-server", '\0', POPT_ARG_NONE, NULL, 0,
>> >+ _("Run the RPC Server if GnuCash was configured with
>> >--enable-rpc"),
>> >+ NULL},
>>
>> No reason to continue with this -- the rpc-server code was ripped out
>> already.
>
> Ok, I'll drop the option. Are any others obsolete? I'm scared to
> test if these actually work:
> --config-path=CONFIGPATH Set configuration path
This let's you change the global config path, /etc/gnucash/config
Right now this file is installed empty but it /must/ exist or
gnucash will exit. I don't know exactly what it's for.
> --share-path=SHAREPATH Set shared data file search path
> --doc-path=DOCPATH Set the search path for documentation files
I'm not 100% sure what these are for.
> And these make me wince:
> --evaluate=COMMAND Evaluate the guile command
> --load=FILE Load the given .scm file
I'm not sure how --load is any different than gnucash-env guile -s file,
or --evaluate is any different than gnucash-env guile -c command. It's
POSSIBLE that they load the gnucash modules first, but I'm not 100% sure.
> and I go "huh?" to theses:
> --add-price-quotes=FILE Add price quotes to given FILE
This is used to automatically run the quote grabber. It's a way
to automate the "Get Quotes" functionality. People actually use
this now -- they set up a cron job to grab the end-of-day quotes
every night (or every week).
> --namespace=REGEXP Regular expression determining which namespace
> commodities will be retrieved
I'm not at all sure what this is for.
> and I think "shouldn't that be automatic?" to these:
> --load-user-config Load the user configuration
> --load-system-config Load the system configuration
Um, yea. I'm not sure what these are for, either.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list