Home
last modified time | relevance | path

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

/external/llvm-project/lldb/source/Interpreter/
DOptions.cpp355 static bool PrintOption(const OptionDefinition &opt_def, in PrintOption() argument
358 if (display_type == eDisplayShortOption && !opt_def.HasShortOption()) in PrintOption()
364 if (show_optional && !opt_def.required) in PrintOption()
367 opt_def.HasShortOption() && display_type != eDisplayLongOption; in PrintOption()
369 strm.Printf("-%c", opt_def.short_option); in PrintOption()
371 strm.Printf("--%s", opt_def.long_option); in PrintOption()
372 switch (opt_def.option_has_arg) { in PrintOption()
376 strm.Printf(" <%s>", CommandObject::GetArgumentName(opt_def.argument_type)); in PrintOption()
381 CommandObject::GetArgumentName(opt_def.argument_type)); in PrintOption()
384 if (show_optional && !opt_def.required) in PrintOption()
[all …]