Skip to content

Commit

Permalink
style: code format
Browse files Browse the repository at this point in the history
  • Loading branch information
super-Pan66 committed Mar 23, 2024
1 parent 83387bc commit 0849467
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/cmd_admin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
*/

#include "cmd_admin.h"
#include "db.h"
#include "pstd/env.h"
#include "store.h"
#include "db.h"

namespace pikiwidb {

Expand All @@ -31,7 +31,8 @@ bool CmdConfigSet::DoInitial(PClient* client) { return true; }
void CmdConfigSet::DoCmd(PClient* client) { client->AppendString("config cmd in development"); }

FlushdbCmd::FlushdbCmd(const std::string& name, int16_t arity)
: BaseCmd(name, arity, kCmdFlagsExclusive | kCmdFlagsAdmin | kCmdFlagsWrite, kAclCategoryWrite | kAclCategoryAdmin) {}
: BaseCmd(name, arity, kCmdFlagsExclusive | kCmdFlagsAdmin | kCmdFlagsWrite,
kAclCategoryWrite | kAclCategoryAdmin) {}

bool FlushdbCmd::DoInitial(PClient* client) { return true; }

Expand Down Expand Up @@ -60,7 +61,8 @@ void FlushdbCmd::DoCmd(PClient* client) {
}

FlushallCmd::FlushallCmd(const std::string& name, int16_t arity)
: BaseCmd(name, arity, kCmdFlagsExclusive | kCmdFlagsAdmin | kCmdFlagsWrite, kAclCategoryWrite | kAclCategoryAdmin) {}
: BaseCmd(name, arity, kCmdFlagsExclusive | kCmdFlagsAdmin | kCmdFlagsWrite,
kAclCategoryWrite | kAclCategoryAdmin) {}

bool FlushallCmd::DoInitial(PClient* client) { return true; }

Expand Down

0 comments on commit 0849467

Please sign in to comment.