27 "Comma separated key=value pairs of display properties. Supported "
29 " 'width': required, width of the display in pixels\n"
30 " 'height': required, height of the display in pixels\n"
31 " 'dpi': optional, default 320, density of the display\n"
32 " 'refresh_rate_hz': optional, default 60, display refresh rate in Hertz\n"
34 "--display=width=1280,height=720\n"
35 "--display=width=1440,height=900,dpi=480,refresh_rate_hz=30\n";
38 const std::string& flag);
Definition: expected.h:86
Definition: alloc_utils.cpp:23
Result< std::optional< CuttlefishConfig::DisplayConfig > > ParseDisplayConfig(const std::string &flag)
Definition: display.cpp:43
Result< std::vector< CuttlefishConfig::DisplayConfig > > ParseDisplayConfigsFromArgs(std::vector< std::string > &args)
Definition: display.cpp:106
constexpr const char kDisplayHelp[]
Definition: display.h:26
constexpr const char kDisplayFlag[]
Definition: display.h:25