2015-03-17 12:55:53 +00:00
|
|
|
// Copyright (c) 2013 GitHub, Inc.
|
|
|
|
// Use of this source code is governed by the MIT license that can be
|
|
|
|
// found in the LICENSE file.
|
|
|
|
|
|
|
|
#include "atom/app/atom_main_args.h"
|
|
|
|
|
|
|
|
namespace atom {
|
|
|
|
|
2015-03-29 11:59:16 +00:00
|
|
|
// static
|
|
|
|
std::vector<std::string> AtomCommandLine::argv_;
|
2015-03-29 11:53:47 +00:00
|
|
|
|
2015-03-29 11:59:16 +00:00
|
|
|
// static
|
|
|
|
void AtomCommandLine::Init(int argc, const char* const* argv) {
|
|
|
|
for (int i = 0; i < argc; ++i) {
|
|
|
|
argv_.push_back(argv[i]);
|
|
|
|
}
|
|
|
|
}
|
2015-03-17 12:55:53 +00:00
|
|
|
|
|
|
|
} // namespace atom
|