GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CLIG_FLAG (n)

NAME

::clig::Flag - declare a flag (boolean, classic) option

CONTENTS

Synopsis
Description
     C

SYNOPSIS

package require clig
namespace import ::clig::*

setSpec db 

Flag -opt varname usage

DESCRIPTION

The Flag command declares an option without any parameters. The command line parser merely checks for the existence of opt on the command line.

    tcl

If parseCmdline finds opt on the command line, variable varname in the caller’s context is set to 1. If opt is not on the command line, the variable is not set.

    C

If opt is found on the command line the slot variableP in the structure returned by the parser will be set to a non-zero value, otherwise it will be 0.

Example use of Flag:

Flag -v verbose {verbose operation}

SEE ALSO

clig_Rest(n), clig_Double(n), clig_Float(n), clig_Version(n), clig_Usage(n), clig_Name(n), clig_Int(n), clig_parseCmdline(n), clig_Long(n), clig_String(n), clig_Commandline(n), clig(1), clig_Description(n)
Search for    or go to Top of page |  Section n |  Main Index


Kir CLIG (1) 1.9.11.1

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.