Fix fmt 10 breaking logging and changed printing format

This commit is contained in:
David Allen 2023-08-03 10:40:41 -06:00
parent 5bdc605f0b
commit 431be7914c
10 changed files with 114 additions and 130 deletions

View file

@ -16,8 +16,7 @@ namespace gdpm::remote{
/* Check if enough args were provided. */
log::println("arg count: {}\nargs: {}", args.size(), utils::join(args));
if (args.size() < 2){
return error(
constants::error::INVALID_ARG_COUNT,
return error(ec::INVALID_ARG_COUNT,
"Requires a remote name and url argument"
);
}
@ -35,8 +34,7 @@ namespace gdpm::remote{
){
log::println("arg count: {}\nargs: {}", args.size(), utils::join(args));
if(args.size() < 1){
return error(
constants::error::INVALID_ARG_COUNT,
return error(ec::INVALID_ARG_COUNT,
"Requires at least one remote name argument"
);
}