5 #ifndef CVMFS_PUBLISH_CMD_ABORT_H_
6 #define CVMFS_PUBLISH_CMD_ABORT_H_
17 virtual std::string
GetName()
const {
return "abort"; }
19 return "Abort the currently open transaction";
22 return "Returns to the state before the current transaction was opened. "
23 "All changes staged in the current transaction are discarded. "
24 "Repositories attached to a gateway return their lease.";
27 return "[options] <repository name>";
30 std::vector<std::string> e;
31 e.push_back(
"-f myrepo.cvmfs.io "
32 "# abort without asking for confirmation");
38 "Do not ask for confirmation"));
42 virtual int Main(
const Options &options);
47 #endif // CVMFS_PUBLISH_CMD_ABORT_H_
virtual std::string GetName() const
virtual std::string GetUsage() const
static Parameter Switch(const std::string &key, char short_key, const std::string &desc)
virtual std::string GetDescription() const
std::vector< Parameter > ParameterList
virtual ParameterList GetParams() const
virtual std::vector< std::string > DoGetExamples() const
virtual std::string GetBrief() const
virtual int Main(const Options &options)