blob: aa1658c3266bca796e1c6ae1bb487e3741dc9586 [file] [log] [blame]
Arman Uguray065d0f72015-07-16 18:12:13 -07001//
Jakub Pawlowski5b790fe2017-09-18 09:00:20 -07002// Copyright 2015 Google, Inc.
Arman Uguray065d0f72015-07-16 18:12:13 -07003//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at:
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17#pragma once
18
19#include <string>
20
21namespace bluetooth {
22namespace switches {
23
24// List of command-line switches used by the daemon.
25const char kHelpLong[] = "help";
26const char kHelpShort[] = "h";
Ian Coolidgec6760d82015-07-30 20:51:47 -070027const char kAndroidIPCSocketSuffix[] = "android-ipc-socket-suffix";
28const char kCreateIPCSocketPath[] = "create-ipc-socket";
Bailey Forreste8e6c6b2017-06-07 14:50:08 -070029const char kEnableOnStart[] = "enable-on-start";
Arman Uguray065d0f72015-07-16 18:12:13 -070030
31const char kHelpMessage[] =
32 "\nBluetooth System Service\n"
33 "\n"
34 "Usage:\n"
Arman Ugurayb2286f32015-08-05 21:19:02 -070035 "\t--help,-h\t\t\tShow this help message\n"
Ian Coolidgec6760d82015-07-30 20:51:47 -070036 "\t--android-ipc-socket-suffix\tSuffix of socket created by Android init. "
37 "Mutually exclusive with --create-ipc-socket.\n"
Arman Ugurayb2286f32015-08-05 21:19:02 -070038 "\t--create-ipc-socket\t\tSocket path created for Unix domain socket based "
Arman Uguray503baaa2015-08-20 11:49:00 -070039 "IPC. Mutually exclusive with --android-ipc-socket-suffix.\n"
Bailey Forreste8e6c6b2017-06-07 14:50:08 -070040 "\t--enable-on-start (true|false)\tIf true, enable adapter as soon as the "
41 "daemon starts.\n"
Arman Uguray503baaa2015-08-20 11:49:00 -070042 "\t--v\t\t\t\tLog verbosity level (e.g. -v=1)\n";
Arman Uguray065d0f72015-07-16 18:12:13 -070043
44} // namespace switches
45} // namespace bluetooth