286 |
@smallexample |
@smallexample |
287 |
[--host @var{host} | -H @var{host}] [--port @var{port}] |
[--host @var{host} | -H @var{host}] [--port @var{port}] |
288 |
[--user @var{user} | -v @var{user}] [--passwd @var{passwd} | -w @var{passwd}] |
[--user @var{user} | -v @var{user}] [--passwd @var{passwd} | -w @var{passwd}] |
289 |
|
[--print-server-addr] |
290 |
@end smallexample |
@end smallexample |
291 |
|
|
292 |
Deprecated Options: |
Deprecated Options: |
397 |
A set of @file{/bin/sh} variables is returned that describe the selected |
A set of @file{/bin/sh} variables is returned that describe the selected |
398 |
database. They include: |
database. They include: |
399 |
|
|
400 |
@code{GNATSDB} |
@table @code |
401 |
|
@item GNATSDB |
402 |
The name of the currently-selected database. |
The name of the currently-selected database. |
403 |
|
|
404 |
@code{GNATSDB_VALID} |
@item GNATSDB_VALID |
|
|
|
405 |
Set to 1 if the selected database is valid. |
Set to 1 if the selected database is valid. |
406 |
|
|
407 |
@code{GNATSDBDIR} |
@item GNATSDBDIR |
|
|
|
408 |
The directory where the database contents are |
The directory where the database contents are |
409 |
stored. |
stored. |
410 |
|
|
411 |
@code{DEBUG_MODE} |
@item DEBUG_MODE |
|
|
|
412 |
Set to 1 if debug mode has been enabled for the |
Set to 1 if debug mode has been enabled for the |
413 |
database. |
database. |
414 |
|
|
415 |
@code{DEFAULTCATEGORY} |
@item DEFAULTCATEGORY |
|
|
|
416 |
The default category for PRs in the database. |
The default category for PRs in the database. |
417 |
|
|
418 |
@code{DEFAULTSTATE} |
@item DEFAULTSTATE |
|
|
|
419 |
The default state for PRs in the database. |
The default state for PRs in the database. |
420 |
|
@end table |
421 |
|
|
422 |
|
@item --print-server-addr |
423 |
|
Prints the information about a remote server database in the format |
424 |
|
suitable for the @code{GNATSDB} environment variable. This option |
425 |
|
works only in the network mode. |
426 |
|
|
427 |
@item --print-directory-for-database |
@item --print-directory-for-database |
428 |
Returns the directory where the selected database is located. |
Returns the directory where the selected database is located. |