diff options
Diffstat (limited to 'src/cli/Edit.h')
-rw-r--r-- | src/cli/Edit.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/cli/Edit.h b/src/cli/Edit.h index 001b5abaf..089a7d886 100644 --- a/src/cli/Edit.h +++ b/src/cli/Edit.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2017 KeePassXC Team <team@keepassxc.org> + * Copyright (C) 2019 KeePassXC Team <team@keepassxc.org> * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -18,14 +18,15 @@ #ifndef KEEPASSXC_EDIT_H #define KEEPASSXC_EDIT_H -#include "Command.h" +#include "DatabaseCommand.h" -class Edit : public Command +class Edit : public DatabaseCommand { public: Edit(); - ~Edit(); - int execute(const QStringList& arguments) override; + int executeWithDatabase(QSharedPointer<Database> db, QSharedPointer<QCommandLineParser> parser) override; + + static const QCommandLineOption TitleOption; }; #endif // KEEPASSXC_EDIT_H |