clig_Usage(7)

clig_Usage7

Declare single line usage-string

Usage

package require clig
namespace import ::clig::*
setSpec db
Usage one-liner

Overview

The Usage command specifies a one line description of the program's intent and function. The string one-liner is printed --- besides other sutff --- if the parser encounters an unknown option. Remember to enclose one-liner in braces. A (not so) typical example would be

Usage {program to delete your home directory}

In fact, the one-liner can be longer than one line. Best results are obtained, if one-liner is not put in braces but is surrounded by double quotes. The quoted string may than contain newlines. Clig automatically adds backslashes where necessary in the generated C-code so that the C-compiler does not go wild.

Releases

4 releases since Debian 3.0 (Woody); the text changed 3 times.

  1. 3.0
  2. 3.1
  3. 4.0
  4. 5.0

From clig 1.9.11.1-3 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.