Dear Pascal,

there is one little hint in the documentation, take a look here "http://docs.basex.org/wiki/Commands#SET". It says "Only local options can be modified.".
Both of these options are global, so you can not change them using SET (you can use the .basex config file or system properties, see http://docs.basex.org/wiki/Options).
However, I totally understand that you missed this information in the doc as it is quite hidden. Additionally, the error feedback is quite misleading. I would opt for a slightly changed error message like "Unknown local option X" as it gives the user an indication that there are local/global options and this is not a local one.

Cheers,
Dirk


On Wed, May 8, 2013 at 2:41 PM, Pascal Heus <pascal.heus@gmail.com> wrote:
Having a weird behavior with the SET command as I can'r seem to change
any option.
Just launching from the shell using the "basex" script, I can GET but
not SET. I must be doing something obviously wrong....
This is with 7.6 on MacOSX.

BaseX 7.6 [Standalone]
Try help to get more information.

> GET DBPATH
DBPATH: /Applications/basex/data
> SET DBPATH /Users/Pascal/BaseXData
Unknown option 'DBPATH'.
> GET LANG
LANG: English
> SET LANG French
Unknown option 'LANG'.
>

Also tried:
basex -c "SET DBPATH /Users/Pascal/BaseXData"
but same results.


_______________________________________________
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk



--
Dirk Kirsten, BaseX GmbH, http://basex.org
|-- Firmensitz: Blarerstrasse 56, 78462 Konstanz
|-- Registergericht Freiburg, HRB: 708285, Geschäftsführer:
|   Dr. Christian Grün, Alexander Holupirek, Michael Seiferle
`-- Phone: 0049 7531 28 28 676, Fax: 0049 7531 20 05 22