ARC Best Practices » Command Lines and arguments
en

Command Lines and arguments

Command Line or Calling Syntax

Command line arguments and options should conform to the PSARC/1991/031 and PSARC/1999/645 command syntax guidelines, which are based on XPG4.2's and SVID's getopt rules.

Does your command support standard forms, e.g. X11(7) manpage's -display, etc.? Are these options propagated to sub-environments?

Where possible, allow use in a shell pipeline by reading standard input and writing output, keeping error output separate from expected output.

Exit Status is normally 0 for success and a different documented nonzero value for each class of errors.

Tags:
Created by admin on 2009/10/26 12:07
Last modified by Asa Romberger on 2010/02/26 17:58

Collectives

Community Group arc Pages


XWiki Enterprise 2.7.1.34853 - Documentation