Next: , Previous: send-pr in Emacs, Up: send-pr



2.2.1 Invoking send-pr from the shell

     send-pr [ -b | --batch ]
             [ -d database | --database database ]
             [ -f file | --file file ]
             [ -p | --print ] [ --request-id ]
             [ -s severity | --severity severity ]
             [ -V | --version ] [ -h | --help ]

Invoking send-pr with no options assumes that you want to submit to the local gnats database named default and calls the editor named in your environment variable EDITOR on a PR template for this database.

-b
--batch
Suppresses printing of most of the messages send-pr usually prints while running.
-d database, --database database
Specifies the database to which the PR is to be submitted; if no database is specified, the local database named default is assumed. This option overrides the database specified in the GNATSDB environment variable. database can also be set to a remote database by using the format for GNATSDB described in Environment variables and gnats tools.
-f problem-report
--file problem-report
Specifies a file, problem-report, where a completed Problem Report or a PR template exists. send-pr verifies that the contents of the file constitute a valid PR and asks you if you want to edit it or send it directly. If the PR text is invalid you will be told what is wrong and be given the option to edit it. If problem-report is -, send-pr reads from standard input.
-p
--print
Displays the PR template for the specified database, or if the -d or --database options aren't specified, print the template for the local default database. No PR is submitted.
--request-id
Sends a request for a Submitter-Id to the Support Site.
-s severity
--severity severity
Sets the initial value of the Severity field to severity.
-V
--version
Displays the send-pr version number and a usage summary. No mail is sent.
-h
--help
Displays a usage summary for send-pr. No mail is sent.