mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-20 03:27:02 -07:00
Fix fmt 10 breaking logging and changed printing format
This commit is contained in:
parent
5bdc605f0b
commit
431be7914c
10 changed files with 114 additions and 130 deletions
|
|
@ -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"
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue