Lines Matching refs:options

46  * MAXOPTIONSTRING is the max length of the options string used in getopt and
48 * providing for options with arguments. e.g. "t:Cs:hglr:"
52 /* standard command options table to support -?, -V */
59 /* standard subcommand options table to support -? */
179 * object - object for which to get options
180 * subcommand - subcommand for which to get options
320 optionProp_t *options;
339 options = getOptions(objp->value, subcommand->value);
347 /* print options if applicable */
348 if (options != NULL) {
349 if (options->required) {
355 if (options->required) {
394 /* print options for subcommand, object */
395 if (options != NULL && options->optionString != NULL) {
397 for (i = 0; i < strlen(options->optionString); i++) {
399 options->optionString[i]))
405 options->optionString[i], longOpt);
407 getOptionArgDesc(options->optionString[i]);
411 if (options->exclusive &&
412 strchr(options->exclusive,
413 options->optionString[i])) {
512 * command subcommand object [<options>] [<operand>]
514 * There are two standard short and long options assumed:
521 * These options are loaded by this function.
570 * where there is no caller defined options
606 * load standard subcommand options to internal long options table
617 * copy caller's long options into internal long options table
754 * getopt(3C) assumes options
768 * Build optionStringAll from long options table
784 * Run getopt for all arguments against all possible options
785 * Store all options/option arguments in an array for retrieval
787 * Once all options are retrieved, check against object
830 * Check validity of given options, if any were given
836 if (cmdOptions[0].optval != 0) { /* options were input */
837 if (availOptions == NULL) { /* no options permitted */
839 commandName, gettext("no options permitted"));
844 /* Check for invalid options */
865 /* Check for exclusive options */
883 } else { /* no options were input */