---
name: "clig_Usage"
section: "7"
platform: "linux"
package: "clig"
version: "1.9.11.1-3"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/clig_Usage"
---

# clig\_Usage(7)

declare single line usage-string

## NAME

::clig::Usage - declare single line usage-string

## SYNOPSIS

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

## DESCRIPTION

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.

## SEE ALSO

[clig\_Name(7)](/clig_Name/7.md), [clig\_Double(7)](/clig_Double/7.md), [clig(1)](/clig/1.md), [clig\_Long(7)](/clig_Long/7.md), [clig\_Version(7)](/clig_Version/7.md), [clig\_Float(7)](/clig_Float/7.md), [clig\_Rest(7)](/clig_Rest/7.md), [clig\_Description(7)](/clig_Description/7.md), [clig\_String(7)](/clig_String/7.md), [clig\_Flag(7)](/clig_Flag/7.md), [clig\_Commandline(7)](/clig_Commandline/7.md), [clig\_parseCmdline(7)](/clig_parseCmdline/7.md), [clig\_Int(7)](/clig_Int/7.md)
