blob: 02afc679967a63c74c3b00119c040b86510fd942 [file] [log] [blame]
#pragma once
#include <string>
#include <unordered_map>
#include <vector>
namespace openpower
{
namespace vpd
{
namespace args
{
using Args = std::unordered_map<std::string, std::vector<std::string>>;
/** @brief Command-line argument parser for openpower-read-vpd
*
* @param[in] argc - argument count
* @param[in] argv - argument array
*
* @returns map of argument:value
*/
Args parse(int argc, char** argv);
/** @brief Display usage of openpower-vpd-read
*
* @param[in] argv - argument array
*/
void usage(char** argv);
} // namespace args
} // namespace vpd
} // namespace openpower