[#ArgsManager-SoftSetArg] = xref:ArgsManager.adoc[ArgsManager]::SoftSetArg :relfileprefix: ../ :mrdocs: Set an argument if it doesn't already have a value == Synopsis Declared in `<common/args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e381add68)]] bool SoftSetArg( std::string const& strArg, std::string const& strValue); ---- == Return Value true if argument gets set, false if it already had a value == Parameters [cols="1,4"] |=== | Name| Description | *strArg* | Argument to set (e.g. "‐foo") | *strValue* | Value (e.g. "1") |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#