1 //
2 //  Copyright 2015 Google, Inc.
3 //
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 
21 namespace bluetooth {
22 namespace switches {
23 
24 // List of command-line switches used by the daemon.
25 const char kHelpLong[] = "help";
26 const char kHelpShort[] = "h";
27 const char kAndroidIPCSocketSuffix[] = "android-ipc-socket-suffix";
28 const char kCreateIPCSocketPath[] = "create-ipc-socket";
29 const char kEnableOnStart[] = "enable-on-start";
30 
31 const char kHelpMessage[] =
32     "\nBluetooth System Service\n"
33     "\n"
34     "Usage:\n"
35     "\t--help,-h\t\t\tShow this help message\n"
36     "\t--android-ipc-socket-suffix\tSuffix of socket created by Android init. "
37     "Mutually exclusive with --create-ipc-socket.\n"
38     "\t--create-ipc-socket\t\tSocket path created for Unix domain socket based "
39     "IPC. Mutually exclusive with --android-ipc-socket-suffix.\n"
40     "\t--enable-on-start (true|false)\tIf true, enable adapter as soon as the "
41     "daemon starts.\n"
42     "\t--v\t\t\t\tLog verbosity level (e.g. -v=1)\n";
43 
44 }  // namespace switches
45 }  // namespace bluetooth
46