Code/Tools/TestImpactFramework/Frontend/Console/Code/Source/TestImpactCommandLineOptionsUtils.cpp
AZStd::optional<AZStd::chrono::milliseconds> ParseSecondsOption(const AZStd::string& optionName, const AZ::CommandLine& cmd)
    {
        if (const auto option = ParseUnsignedIntegerOption(optionName, cmd);
            option.has_value())
        {
            return AZStd::chrono::seconds(option.value());
        }

        return AZStd::nullopt;
    }
//! Attempts to parse an option value in seconds.
Attempts to parse an option value in seconds.
Attempts to parse an option value in seconds .
AZStd::optional<AZStd::chrono::milliseconds> ParseSecondsOption(const AZStd::string& optionName, const AZ::CommandLine& cmd)
    {
        if (const auto option = ParseUnsignedIntegerOption(optionName, cmd);
            option.has_value())
        {
            return AZStd::chrono::seconds(option.value());
        }
        return AZStd::nullopt;
    }
AZStd :: optional < AZStd :: chrono :: milliseconds > ParseSecondsOption ( const AZStd :: string & optionName , const AZ :: CommandLine & cmd ) { if ( const auto option = ParseUnsignedIntegerOption ( optionName , cmd ) ; option . has_value ( ) ) { return AZStd :: chrono :: seconds ( option . value ( ) ) ; } return AZStd :: nullopt ; }
Attempts to parse an option value in seconds.
Attempts to parse an option value in seconds .