[]
Converts the usage information to a list of parameter names in a single array. The usage information appears in a 2D array of String. The first dimensions contains the different options, the second dimension contains the name of the option (first element), the synopsis and the explanation. This method takes the names of the different options in 'pinfo' and returns them in a single array of String.
public static string[] toNameArray(string[][] pinfo)
Type | Name | Description |
---|---|---|
string[][] | pinfo | The list of options and their usage info (see above). |
Type | Description |
---|---|
string[] | An array with the names of the options in pinfo. If pinfo is null, null is returned. |