[all] Build a single executable

This commit is contained in:
Joe Thornber
2014-08-27 14:01:31 +01:00
parent c1e0799367
commit 6f8b7e2914
48 changed files with 418 additions and 496 deletions

View File

@@ -17,6 +17,7 @@
// <http://www.gnu.org/licenses/>.
#include "persistent-data/file_utils.h"
#include "thin-provisioning/commands.h"
#include "thin-provisioning/emitter.h"
#include "thin-provisioning/human_readable_format.h"
#include "thin-provisioning/metadata.h"
@@ -68,7 +69,7 @@ namespace {
}
}
int main(int argc, char **argv)
int thin_restore_main(int argc, char **argv)
{
int c;
char const *prog_name = basename(argv[0]);
@@ -132,4 +133,6 @@ int main(int argc, char **argv)
return restore(input, output, quiet);
}
base::command thin_provisioning::thin_restore_cmd("thin_restore", thin_restore_main);
//----------------------------------------------------------------