Skip to content

Commit

Permalink
remove no-multi
Browse files Browse the repository at this point in the history
  • Loading branch information
PragmaTwice committed Nov 16, 2024
1 parent 9d9aa80 commit 13701da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/commands/commander.h
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,9 @@ inline uint64_t ParseCommandFlags(const std::string &description, const std::str
else if (flag == "blocking") {
flags |= kCmdBlocking;

// blocking commands should always be no-multi and no-script
flags |= kCmdNoMulti | kCmdNoScript;
// blocking commands should always be no-script
// TODO: we can relax this restriction if scripting becomes non-exclusive
flags |= kCmdNoScript;
} else {
std::cout << fmt::format("Encountered non-existent flag '{}' in command {} in command attribute parsing", flag,
cmd_name)
Expand Down

0 comments on commit 13701da

Please sign in to comment.