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_COMMANDLINE (n)

NAME

::clig::Commandline - declare variable to store concatenated argv

CONTENTS

Synopsis
Description
     Example
Bug

SYNOPSIS

package require clig
namespace import ::clig::*

setSpec db 

Commandline varname

DESCRIPTION

The command Commandline records in the database db specified in the most recent call to setSpec the name varname of a variable to be set the concatenated elements of the command line by a clig-parser.

    Example

With a declaration like

  Commandline tool

a C-program calling

   Cmdline *cmd = parseCmdline(argc, argv);

will find in cmd->tool all elements of argv joined into one string with intervening blanks.

BUG

This even works with the command line parser for Tcl, ::clig::parseCmdline, although in contrast to C it is rather useless in Tcl.

SEE ALSO

clig_Rest(n), clig_Flag(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(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.