up: ARG | index | Zimbu documentation |
A Flag that has one string argument. For example, with this flag: ARG.String name = NEW("n", "name", "", "the name")These arguments can be used: prog --name foobar prog --name=foobar prog -n foobar prog -nfoobar By default the flag is not allowed to be used more than once. Use enableRepeat() to enable it.
|
PROC NEW(string shortName, string longName, string default, string doc) @public
FUNC $enableRepeat() ARG.String @public
FUNC $getList() list<string> @file
FUNC $valueList() list<string> @file
|
Copyright 2009 Bram Moolenaar All Rights Reserved. |
Licensed under the Apache License, Version 2.0. See the LICENSE file or obtain a copy at: http://www.apache.org/licenses/LICENSE-2.0 |