Massive reformating and cleanup
This commit is contained in:
@ -5,17 +5,15 @@
|
||||
|
||||
#include "cmd/cmd_base.hpp"
|
||||
|
||||
|
||||
namespace fsh {
|
||||
|
||||
class CmdDate : public Command {
|
||||
|
||||
protected:
|
||||
virtual void run(std::istream& in, std::ostream& out, ArgManager& args) override {
|
||||
std::time_t time = std::time(nullptr);
|
||||
out << std::asctime(std::localtime(&time));
|
||||
}
|
||||
class CmdDate : public Command {
|
||||
|
||||
};
|
||||
protected:
|
||||
virtual void run(std::istream& in, std::ostream& out, ArgManager& args) override {
|
||||
std::time_t time = std::time(nullptr);
|
||||
out << std::asctime(std::localtime(&time));
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user