Merge pull request #660 from google/revert-626-StrDraco

Revert "Add version string output to cli tools."
This commit is contained in:
Tom Finegan 2020-12-08 12:46:23 -08:00 committed by GitHub
commit 9d20a3b7e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 8 deletions

View File

@ -15,7 +15,6 @@
#include <cinttypes>
#include "draco/compression/decode.h"
#include "draco/core/draco_version.h"
#include "draco/core/cycle_timer.h"
#include "draco/io/file_utils.h"
#include "draco/io/obj_encoder.h"
@ -56,9 +55,6 @@ int main(int argc, char **argv) {
if (!strcmp("-h", argv[i]) || !strcmp("-?", argv[i])) {
Usage();
return 0;
} else if (!strcmp("-v", argv[i])) {
printf("draco_decoder version: %s\n", draco::Version());
return 0;
} else if (!strcmp("-i", argv[i]) && i < argc_check) {
options.input = argv[++i];
} else if (!strcmp("-o", argv[i]) && i < argc_check) {

View File

@ -16,7 +16,6 @@
#include <cstdlib>
#include "draco/compression/encode.h"
#include "draco/core/draco_version.h"
#include "draco/core/cycle_timer.h"
#include "draco/io/file_utils.h"
#include "draco/io/mesh_io.h"
@ -196,9 +195,6 @@ int main(int argc, char **argv) {
if (!strcmp("-h", argv[i]) || !strcmp("-?", argv[i])) {
Usage();
return 0;
} else if (!strcmp("-v", argv[i])) {
printf("draco_encoder version: %s\n", draco::Version());
return 0;
} else if (!strcmp("-i", argv[i]) && i < argc_check) {
options.input = argv[++i];
} else if (!strcmp("-o", argv[i]) && i < argc_check) {