Long Options

Prev Next

Introduction

Long options are command line options beginning wtih two consecutive minus signs (--) followed by an option name. In addition, option values may be assigned to that name if immediately followed by an equal sign and further values. For example b4p test.b4p --silent --use_value=3 specifies two long options.

Following rules apply:

  • All long options must start with two consecutive minus signs (--)
  • Spaces are not allowed. --use_value=3 is OK, but --use_value = 3 is not.
  • The sequential order is not relevant
  • The long options may be placed anywhere before, between or after the command line arguments
  • Long options are solely available for your B4P programs. They do not influence the starting and execution behavior of the B4P interpreter.

Accessibility to B4P Programs

THe long options do not influence the ordering and contents of the command line parameters as they are treated independently.
See the B4P function description of get long options() where some code examples are shown.

See also

get long options