help_option header

The documentation of QEMU’s qemu/help_option.h header.

bool is_help_option(const char * s)

Parameters

const char * s
string to test

Description

Check whether s is one of the standard strings which indicate that the user is asking for a list of the valid values for a command option like -cpu or -M. The current accepted strings are ‘help’ and ‘?’. ‘?’ is deprecated (it is a shell wildcard which makes it annoying to use in a reliable way) but provided for backwards compatibility.

Return

true if s is a request for a list.