Permit path parameters.
This commit is contained in:
@@ -70,9 +70,10 @@ trimYear( const int year )
|
||||
int
|
||||
main( const int argcnt, const char *const argvec[] )
|
||||
{
|
||||
std::filesystem::path where="./";
|
||||
const auto args= Alepha::handleOptions( argcnt, argvec );
|
||||
|
||||
std::filesystem::path where= args.empty() ? "./" : args.at( 0 );
|
||||
|
||||
const auto entries= getEntries( where );
|
||||
|
||||
const auto widest= std::max_element( begin( entries ), end( entries ),
|
||||
|
||||
Reference in New Issue
Block a user