clig_Rest 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::Rest  -	declare command line arguments not associated with any
       option

SYNOPSIS
       package require clig
       namespace import ::clig::*
       setSpec db

       Rest name usage [-c lo hi]

DESCRIPTION
       The Rest command specifies, what the parser should do with command line
       arguments  not  associated with any option. Option -c specifies how man
       non-option  arguments  are   allowed   on   the	 command   line	  (see
       clig::String(n)). The default values for lo and hi are 0 and oo respecā€
       tively.

       Without a Rest-declaration the parser will generate  an	error  message
       and terminate the program.

       If  a Rest is declared, non-option arguments are returned by the parser
       as described below.

PARSER RESULT
   tcl
       Within a Tcl-script, the parser will set the variable with name varname
       in  the	stack-frame of its caller to the arguments on the command line
       which are not parameters of any option.

   C
       Mainly for historical reasons, the structure  returned  by  the	parser
       contains the slots int argc and char **argv. They contain the arguments
       on the command line which are not parameters of any option.

       Example use of Rest:

	 Rest infiles {input files} -c 1 oo

SEE ALSO
       clig_Version(n), clig_Usage(n),	clig_Float(n),	clig(1),  clig_Int(n),
       clig_Commandline(n),    clig_Long(n),   clig_Flag(n),   clig_String(n),
       clig_Double(n), clig_Name(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