Skip to content

Commit

Permalink
chore: typos
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed Jul 5, 2024
1 parent 02f5e62 commit 48e34df
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/bzlws_tool_lib/bzlws_tool_lib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ static void parse_arg

if(options.output_path.empty()) {
std::cerr
<< "[ERROR] --output flag must come before any non-flag arugments"
<< "[ERROR] --output flag must come before any non-flag arguments"
<< std::endl;
tool_exit(bzlws_tool_lib::exit_code::invalid_arguments);
}
Expand Down Expand Up @@ -410,7 +410,7 @@ bzlws_tool_lib::options bzlws_tool_lib::parse_args
if(i+1 > args.size()-1) {
std::cerr
<< "Argv access out of range at index " << i
<< " (improperly formated) " << std::endl;
<< " (improperly formatted) " << std::endl;
tool_exit(exit_code::invalid_arguments);
}

Expand All @@ -434,7 +434,7 @@ bzlws_tool_lib::options bzlws_tool_lib::parse_args
if(!std::getline(param_file_stream, next_line, '\n')) {
std::cerr
<< "Argv access out of range at index " << i
<< " (improperly formated) " << std::endl;
<< " (improperly formatted) " << std::endl;
tool_exit(exit_code::invalid_arguments);
}
if(next_line.starts_with('\'') && next_line.ends_with('\'')) {
Expand Down

0 comments on commit 48e34df

Please sign in to comment.