Android-cuttlefish cvd tool
Namespaces | Functions
help_format.cpp File Reference
#include "cuttlefish/host/commands/cvd/cli/help_format.h"
#include <stddef.h>
#include <sstream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
#include "absl/strings/str_join.h"
#include "absl/strings/str_split.h"
#include "cuttlefish/flag_parser/flag.h"
Include dependency graph for help_format.cpp:

Namespaces

namespace  cuttlefish
 
namespace  cuttlefish::anonymous_namespace{help_format.cpp}
 

Functions

std::vector< std::string > cuttlefish::anonymous_namespace{help_format.cpp}::WrapAroundLine (std::string_view str, size_t max_line_length)
 
std::string cuttlefish::FormatHelpText (const std::vector< HelpParagraph > &text, size_t max_line_width)
 
std::string cuttlefish::FormatFlagsHelp (const std::vector< Flag > &flags, size_t max_line_width)