Home
last modified time | relevance | path

Searched refs:opt_def (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Interpreter/
H A DOptions.cpp359 static bool PrintOption(const OptionDefinition &opt_def, in PrintOption() argument
362 if (display_type == eDisplayShortOption && !opt_def.HasShortOption()) in PrintOption()
368 if (show_optional && !opt_def.required) in PrintOption()
371 opt_def.HasShortOption() && display_type != eDisplayLongOption; in PrintOption()
373 strm.Printf("-%c", opt_def.short_option); in PrintOption()
375 strm.Printf("--%s", opt_def.long_option); in PrintOption()
376 switch (opt_def.option_has_arg) { in PrintOption()
380 strm.Printf(" <%s>", CommandObject::GetArgumentName(opt_def.argument_type)); in PrintOption()
385 CommandObject::GetArgumentName(opt_def.argument_type)); in PrintOption()
388 if (show_optional && !opt_def.required) in PrintOption()
[all …]