clig_Flag man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

CLIG(1)			      Programmer's Manual		       CLIG(1)

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

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_Version(n), clig_Usage(n),	clig_Float(n),	clig(1),  clig_Int(n),
       clig_Commandline(n),   clig_Long(n),   clig_String(n),  clig_Double(n),
       clig_Name(n), clig_Rest(n), clig_Description(n), clig_parseCmdline(n)

Kir				   1.9.11.1			       CLIG(1)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net