2014-10-13 22:06:48 +00:00
|
|
|
// Copyright 2014 Google Inc. All rights reserved.
|
|
|
|
//
|
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file or at
|
|
|
|
// https://developers.google.com/open-source/licenses/bsd
|
|
|
|
//
|
|
|
|
// Flag validation help functions.
|
|
|
|
|
|
|
|
#include "packager/app/validate_flag.h"
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2016-05-20 21:19:33 +00:00
|
|
|
namespace shaka {
|
2014-10-13 22:06:48 +00:00
|
|
|
|
|
|
|
void PrintError(const std::string& error_message) {
|
|
|
|
fprintf(stderr, "ERROR: %s\n", error_message.c_str());
|
|
|
|
}
|
|
|
|
|
2017-09-20 22:49:00 +00:00
|
|
|
void PrintWarning(const std::string& warning_message) {
|
|
|
|
fprintf(stderr, "WARNING: %s\n", warning_message.c_str());
|
|
|
|
}
|
|
|
|
|
2016-05-20 21:19:33 +00:00
|
|
|
} // namespace shaka
|